diff --git a/qwc_services_core/jwt.py b/qwc_services_core/jwt.py index 72bd866..fe5e1c1 100644 --- a/qwc_services_core/jwt.py +++ b/qwc_services_core/jwt.py @@ -49,7 +49,7 @@ def restplus_error_handler(error): @jwt.expired_token_loader def handle_expired_token(jwtheader, jwtdata): # Unset cookies and redirect to requested page on expired token - app.logger.warn("Expired token: %s" % str(err)) + app.logger.warn("Expired token") resp = redirect(request.url) unset_jwt_cookies(resp) return resp