From e2678ec0413faa7cdf17c8ae57e4d74a109336cb Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 20 Apr 2013 14:01:32 +0200 Subject: [PATCH] pkgman refresh: Include the repository name in error message --- src/bin/pkgman/command_refresh.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/pkgman/command_refresh.cpp b/src/bin/pkgman/command_refresh.cpp index 6023edca6a..4eddeae2a0 100644 --- a/src/bin/pkgman/command_refresh.cpp +++ b/src/bin/pkgman/command_refresh.cpp @@ -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;