mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-20 22:24:52 +01:00
Add ignoreErrors to sentry
This commit is contained in:
@@ -44,7 +44,7 @@ func (controller *AuthController) Auth(c echo.Context) error {
|
||||
|
||||
accessToken, refreshToken, err := controller.svc.GenerateToken(c.Request().Context(), body.Login, body.Password, body.RefreshToken)
|
||||
if err != nil {
|
||||
return c.JSON(http.StatusBadRequest, responses.BadAuthError)
|
||||
return c.JSON(http.StatusUnauthorized, responses.BadAuthError)
|
||||
}
|
||||
|
||||
return c.JSON(http.StatusOK, &AuthResponseBody{
|
||||
|
||||
Reference in New Issue
Block a user