projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95be667
)
lib/commit: Add more error prefixing
author
Jonathan Lebon
<jonathan@jlebon.com>
Fri, 17 Apr 2020 18:18:28 +0000
(14:18 -0400)
committer
Jonathan Lebon
<jonathan@jlebon.com>
Fri, 17 Apr 2020 18:27:16 +0000
(14:27 -0400)
We think we're hitting an error in that function in the Fedora infra.
Add some more error prefixing to help debugging.
src/libostree/ostree-repo-commit.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-commit.c
b/src/libostree/ostree-repo-commit.c
index 3f2f2bebcd13188b5abe86762e572d5c134376cf..6712b53e753c3cb8e13c9ee68703eae94fa6383e 100644
(file)
--- a/
src/libostree/ostree-repo-commit.c
+++ b/
src/libostree/ostree-repo-commit.c
@@
-1943,6
+1943,9
@@
cleanup_txn_dir (OstreeRepo *self,
GCancellable *cancellable,
GError **error)
{
+ const char *errprefix = glnx_strjoina ("Cleaning up txn dir ", path);
+ GLNX_AUTO_PREFIX_ERROR (errprefix, error);
+
g_auto(GLnxLockFile) lockfile = { 0, };
gboolean did_lock;