Skip to content

Commit

Permalink
commit2jigdo: Add some error prefixing
Browse files Browse the repository at this point in the history
As usual doing this after I hit an error.

Closes: #1135
Approved by: jlebon
  • Loading branch information
cgwalters authored and rh-atomic-bot committed Dec 6, 2017
1 parent 906a8a1 commit 56febf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/rpmostree-ex-builtin-commit2jigdo.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,8 @@ build_objid_map_for_package (RpmOstreeCommit2JigdoContext *self,
GCancellable *cancellable,
GError **error)
{
const char *errmsg = glnx_strjoina ("build objidmap for ", dnf_package_get_nevra (pkg));
GLNX_AUTO_PREFIX_ERROR (errmsg, error);
g_autofree char *cachebranch = rpmostree_get_cache_branch_pkg (pkg);
g_autofree char *pkg_commit = NULL;
g_autoptr(GFile) commit_root = NULL;
Expand Down

0 comments on commit 56febf2

Please sign in to comment.