diff --git a/apps/authentication/views/mfa.py b/apps/authentication/views/mfa.py index eb1c05a84..758c3c62f 100644 --- a/apps/authentication/views/mfa.py +++ b/apps/authentication/views/mfa.py @@ -32,7 +32,7 @@ class UserLoginOtpView(mixins.AuthMixin, FormView): except Exception as e: logger.error(e) import traceback - traceback.print_exception(e) + traceback.print_exc() return redirect_to_guard_view() def get_context_data(self, **kwargs):