tweak error mesages
This commit is contained in:
parent
88f1d9b4e1
commit
d38fe950fe
|
@ -198,7 +198,7 @@ func iszonked(userid int64, xid string) bool {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if err != sql.ErrNoRows {
|
if err != sql.ErrNoRows {
|
||||||
log.Printf("err querying zonk: %s", err)
|
log.Printf("error querying zonk: %s", err)
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -227,7 +227,7 @@ func needxonkid(user *WhatAbout, xid string) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if err != sql.ErrNoRows {
|
if err != sql.ErrNoRows {
|
||||||
log.Printf("err querying xonk: %s", err)
|
log.Printf("error querying xonk: %s", err)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
@ -361,7 +361,7 @@ func savehonk(h *Honk) error {
|
||||||
tx.Rollback()
|
tx.Rollback()
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("err saving honk: %s", err)
|
log.Printf("error saving honk: %s", err)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -436,7 +436,7 @@ func saveextras(tx *sql.Tx, h *Honk) error {
|
||||||
for _, d := range h.Donks {
|
for _, d := range h.Donks {
|
||||||
_, err := tx.Stmt(stmtSaveDonk).Exec(h.ID, d.FileID)
|
_, err := tx.Stmt(stmtSaveDonk).Exec(h.ID, d.FileID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("err saving donk: %s", err)
|
log.Printf("error saving donk: %s", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue