diff options
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/handlers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/handlers/handlers.go b/handlers/handlers.go index 62b9ac0..1505f08 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -107,6 +107,7 @@ func VerifyHash(c echo.Context) error { err = db.QueryRow("SELECT HashValue FROM hashes WHERE ID = ?", id).Scan(&storedHash) if err != nil { if err == sql.ErrNoRows { + log.Println("ID not Found") return c.JSON(http.StatusNotFound, map[string]string{"message": "2"}) } log.Println("Failed to query database:", err) |