pkgman refresh: Include the repository name in error message

This commit is contained in:
Ingo Weinhold
2013-04-20 21:40:07 +02:00
parent bab6caf3e0
commit e2678ec041
+4 -2
View File
@@ -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;