From 63ca2ab182b46faf34f7fe649ab59a496d9988c6 Mon Sep 17 00:00:00 2001 From: xinwen Date: Wed, 13 Oct 2021 11:40:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20traceback=20?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/views/mfa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):