Skip to content
Snippets Groups Projects
Commit c2c153dd authored by Erik Johnston's avatar Erik Johnston
Browse files

Log more detail when we fail to authenticate request

parent 79d3b468
No related branches found
No related tags found
No related merge requests found
......@@ -261,10 +261,10 @@ class BaseFederationServlet(object):
except NoAuthenticationError:
origin = None
if self.REQUIRE_AUTH:
logger.warn("authenticate_request failed")
logger.warn("authenticate_request failed: missing authentication")
raise
except Exception:
logger.warn("authenticate_request failed")
except Exception as e:
logger.warn("authenticate_request failed: %s", e)
raise
if origin:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment