diff options
author | Emile <hanemile@protonmail.com> | 2019-10-26 16:54:36 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-26 16:54:36 +0200 |
commit | 530783f34c921e6b99f6118e77f61dae8f5bd5c4 (patch) | |
tree | f788b677f51ffde183c2e75b0f09b84de9a957d4 | |
parent | a3fc010ac1c08ac475eefd7d60ff684b075ce2c9 (diff) |
correct error
-rw-r--r-- | src/db.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |