mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
core: Improve error message if we hit an unreadable file
This commit is contained in:
parent
26c484faed
commit
0660d9e5cf
@ -3565,7 +3565,10 @@ ostree_repo_load_file (OstreeRepo *self,
|
||||
{
|
||||
ret_input = (GInputStream*) g_file_read (loose_path, cancellable, error);
|
||||
if (!ret_input)
|
||||
goto out;
|
||||
{
|
||||
g_prefix_error (error, "Error opening loose file object %s: ", ot_gfile_get_path_cached (loose_path));
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user