aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/system/op.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/system/op.go b/internal/system/op.go
index fcfc29b2..7d293773 100644
--- a/internal/system/op.go
+++ b/internal/system/op.go
@@ -94,6 +94,7 @@ func (sys *I) Commit() error {
// sp is set to nil when all ops are applied
if sp != nil {
// rollback partial commit
+ fmsg.VPrintf("commit faulted after %d ops, rolling back partial commit", len(sp.ops))
if err := sp.Revert(&Criteria{nil}); err != nil {
fmsg.Println("errors returned reverting partial commit:", err)
}