From 530783f34c921e6b99f6118e77f61dae8f5bd5c4 Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 26 Oct 2019 16:54:36 +0200 Subject: correct error --- src/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/db.go b/src/db.go index 3601b1b..22ab1a8 100644 --- a/src/db.go +++ b/src/db.go @@ -145,7 +145,7 @@ func dbDeleteChallengeByUUID(uuid string) error { err := db.QueryRow(query, uuid) if err != nil { - return err + return fmt.Errorf("could not delete the challenge: %s", err) } return nil -- cgit 1.4.1