pkgman refresh: Include the repository name in error message
This commit is contained in:
@@ -101,8 +101,10 @@ RefreshCommand::Execute(int argc, const char* const* argv)
|
|||||||
|
|
||||||
BRefreshRepositoryRequest refreshRequest(context, repoConfig);
|
BRefreshRepositoryRequest refreshRequest(context, repoConfig);
|
||||||
result = refreshRequest.Process();
|
result = refreshRequest.Process();
|
||||||
if (result != B_OK)
|
if (result != B_OK) {
|
||||||
DIE(result, "request for refreshing repository failed");
|
DIE(result, "request for refreshing repository \"%s\" failed",
|
||||||
|
repoName.String());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user