fix: 修复 traceback 问题

pull/7010/head
xinwen 2021-10-13 11:40:29 +08:00 committed by Jiangjie.Bai
parent f9ea119928
commit 63ca2ab182
1 changed files with 1 additions and 1 deletions

View File

@ -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):