diff --git a/web/auth.go b/web/auth.go index b0a70d54..592bf3b2 100644 --- a/web/auth.go +++ b/web/auth.go @@ -447,6 +447,6 @@ func checkBearer(c *fibre.Context, info string, callback func() error) (err erro } - return fibre.NewHTTPError(401).WithMessage("Invalid authentication details") + return fibre.NewHTTPError(401).WithMessage("Invalid authentication details: " + err.Error()) }