all repos — honk @ 0b4c3ebb3466141a005eea5016899b94b38c6df0

my fork of honk

tweak error mesages
Ted Unangst tedu@tedunangst.com
Tue, 08 Oct 2019 01:27:27 -0400
commit

0b4c3ebb3466141a005eea5016899b94b38c6df0

parent

208575209010353f8ee3cb1dab82cd69500e2ea1

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M activity.goactivity.go

@@ -198,7 +198,7 @@ if err == nil {

return true } if err != sql.ErrNoRows { - log.Printf("err querying zonk: %s", err) + log.Printf("error querying zonk: %s", err) } return false }

@@ -227,7 +227,7 @@ if err == nil {

return false } if err != sql.ErrNoRows { - log.Printf("err querying xonk: %s", err) + log.Printf("error querying xonk: %s", err) } return true }
M database.godatabase.go

@@ -361,7 +361,7 @@ } else {

tx.Rollback() } if err != nil { - log.Printf("err saving honk: %s", err) + log.Printf("error saving honk: %s", err) } return err }

@@ -436,7 +436,7 @@ func saveextras(tx *sql.Tx, h *Honk) error {

for _, d := range h.Donks { _, err := tx.Stmt(stmtSaveDonk).Exec(h.ID, d.FileID) if err != nil { - log.Printf("err saving donk: %s", err) + log.Printf("error saving donk: %s", err) return err } }