summary refs log tree commit diff stats
path: root/svc
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-09 15:24:52 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-09 15:25:01 -0400
commit3ea7e8890f8d13789de2c69ac1476c824399e011 (patch)
treed6aad06d89267b1609eec0ba60a5b4939e6c5984 /svc
parent3afea15a63274678ead2241b7a2e38e8f6df5c9f (diff)
downloadgetwtxt-3ea7e8890f8d13789de2c69ac1476c824399e011.tar.gz
error missed
Diffstat (limited to 'svc')
-rw-r--r--svc/sqlite.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/svc/sqlite.go b/svc/sqlite.go
index 69103dc..fe9622c 100644
--- a/svc/sqlite.go
+++ b/svc/sqlite.go
@@ -83,7 +83,7 @@ func (lite dbSqlite) push() error {
 
 	err = tx.Commit()
 	if err != nil {
-		tx.Rollback()
+		errLog("", tx.Rollback())
 		return err
 	}