Merge pull request #2118 from cgwalters/error-prefix-parsing
lib: Add error prefixing with specific object when loading
This commit is contained in:
commit
d6ce1b09cf
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue