mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
commit: Prefix error with target object name on failure to write
Helpful to debug things later. Closes: #759 Approved by: jlebon
This commit is contained in:
parent
ffc178311e
commit
4d873389f0
@ -344,6 +344,8 @@ commit_loose_object_trusted (OstreeRepo *self,
|
||||
|
||||
ret = TRUE;
|
||||
out:
|
||||
if (G_UNLIKELY (error && *error))
|
||||
g_prefix_error (error, "Writing object %s.%s: ", checksum, ostree_object_type_to_string (objtype));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user