tweak error mesages
Ted Unangst tedu@tedunangst.com
Tue, 08 Oct 2019 01:27:27 -0400
2 files changed,
4 insertions(+),
4 deletions(-)
M
activity.go
→
activity.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.go
→
database.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 } }