about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db.go2
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