From 175e8b1b28aaf0c3d14ba13cdb3daaf4568ca3f8 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 2 Oct 2011 09:47:42 +0100 Subject: [PATCH] Correct teh error reporting for notification URLs --- app/sso/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sso/tasks.py b/app/sso/tasks.py index 6061d96..fd1bec4 100644 --- a/app/sso/tasks.py +++ b/app/sso/tasks.py @@ -116,7 +116,7 @@ def update_user_access(user, **kwargs): else: conn = urllib2.urlopen(req, timeout=5) except (urllib2.HTTPError, urllib2.URLError) as e: - logger.error('Error notifying SSO service: %s' % e.code, exc_info=sys.exc_info(), extra={'data': {'url': url}}) + logger.error('Error notifying SSO service: %s' % e, exc_info=sys.exc_info(), extra={'data': {'url': url, 'data': jsonstr, 'auth': hash}}) pass update_service_groups.delay(user_id=user.id)