Added some more logging and documented deploy procedures
This commit is contained in:
@@ -143,6 +143,8 @@ func (h Handlers) AccountAuthPassword(c *fiber.Ctx) error {
|
||||
if err != nil {
|
||||
if err.Error() == "no rows in result set" {
|
||||
return c.Status(403).JSON([]ResJSONError{{Error: "Invalid name or password"}})
|
||||
} else {
|
||||
h.Log.Error("unknown error when resolving account", "err", err.Error())
|
||||
}
|
||||
|
||||
return c.Status(500).JSON([]ResJSONError{{Error: err.Error()}})
|
||||
|
||||
Reference in New Issue
Block a user