Commit ef32adc1 by Bridger Maxwell

Changed log level to exception.

parent 61105134
...@@ -124,7 +124,7 @@ def try_change_enrollment(request): ...@@ -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 # 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)) log.info("Attempted to automatically enroll after login. Results: {0}".format(enrollment_output))
except Exception, e: 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 @login_required
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment