diff --git a/internal/system/op.go b/internal/system/op.go index fcfc29b..7d29377 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) }