aboutsummaryrefslogtreecommitdiff
path: root/Database.go
diff options
context:
space:
mode:
Diffstat (limited to 'Database.go')
-rw-r--r--Database.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/Database.go b/Database.go
index 4f29026..ac9ee27 100644
--- a/Database.go
+++ b/Database.go
@@ -982,7 +982,9 @@ func GetCaptchaCodeDB(db *sql.DB, verify string) string {
rows.Next()
err = rows.Scan(&code)
- CheckError(err, "Could not get verification captcha")
+ if err != nil {
+ fmt.Println("Could not get verification captcha")
+ }
return code
}