diff options
author | Denis Costa <deniscostadsc@gmail.com> | 2016-11-23 15:03:31 -0200 |
---|---|---|
committer | Denis Costa <deniscostadsc@gmail.com> | 2016-11-23 15:03:46 -0200 |
commit | afe73949801ba5c522a31af2d786b80f4a31f439 (patch) | |
tree | 483d3017bbb5223df0368cd83bb526648b529111 /service/pixelated | |
parent | 3ad8fbb163610e8890515e91ec3afd220e80af1b (diff) |
Adds traceback to logs.
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/resources/login_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/login_resource.py b/service/pixelated/resources/login_resource.py index d5555b90..aadc435e 100644 --- a/service/pixelated/resources/login_resource.py +++ b/service/pixelated/resources/login_resource.py @@ -165,7 +165,7 @@ class LoginResource(BaseResource): def _complete_bootstrap(self, user_auth, request): def log_error(error): - log.error('Login error during %s services setup: %s' % (user_auth.username, error.getErrorMessage())) + log.error('Login error during %s services setup: %s \n %s' % (user_auth.username, error.getErrorMessage(), error.getTraceback())) def set_session_cookies(_): session = IPixelatedSession(request.getSession()) |