Merge pull request #2118 from cgwalters/error-prefix-parsing

lib: Add error prefixing with specific object when loading
This commit is contained in:
OpenShift Merge Robot 2020-05-29 18:52:23 -04:00 committed by GitHub
commit d6ce1b09cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -999,7 +999,10 @@ content_fetch_on_complete (GObject *object,
if (!ostree_content_stream_parse (TRUE, tmpf_input, stbuf.st_size, FALSE, if (!ostree_content_stream_parse (TRUE, tmpf_input, stbuf.st_size, FALSE,
&file_in, &file_info, &xattrs, &file_in, &file_info, &xattrs,
cancellable, error)) cancellable, error))
goto out; {
g_prefix_error (error, "Parsing %s: ", checksum_obj);
goto out;
}
if (verifying_bareuseronly) if (verifying_bareuseronly)
{ {