pkgman refresh: Include the repository name in error message

This commit is contained in:
Ingo Weinhold 2013-04-20 14:01:32 +02:00
parent bab6caf3e0
commit e2678ec041

View File

@ -101,8 +101,10 @@ RefreshCommand::Execute(int argc, const char* const* argv)
BRefreshRepositoryRequest refreshRequest(context, repoConfig);
result = refreshRequest.Process();
if (result != B_OK)
DIE(result, "request for refreshing repository failed");
if (result != B_OK) {
DIE(result, "request for refreshing repository \"%s\" failed",
repoName.String());
}
}
return 0;