summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2016-11-23 15:03:31 -0200
committerDenis Costa <deniscostadsc@gmail.com>2016-11-23 15:03:46 -0200
commitafe73949801ba5c522a31af2d786b80f4a31f439 (patch)
tree483d3017bbb5223df0368cd83bb526648b529111 /service/pixelated
parent3ad8fbb163610e8890515e91ec3afd220e80af1b (diff)
Adds traceback to logs.
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/resources/login_resource.py2
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())