Changed log level to exception.

This commit is contained in:
Bridger Maxwell
2012-07-22 16:30:41 -04:00
parent 61105134aa
commit ef32adc1c9

View File

@@ -124,7 +124,7 @@ def try_change_enrollment(request):
# We expect the enrollment to be a success, and will show up on the dashboard anyway
log.info("Attempted to automatically enroll after login. Results: {0}".format(enrollment_output))
except Exception, e:
log.error("Exception automatically enrolling after login: {0}".format(str(e)))
log.exception("Exception automatically enrolling after login: {0}".format(str(e)))
@login_required