mirror of https://github.com/jumpserver/jumpserver
fix: 修复 traceback 问题
parent
f9ea119928
commit
63ca2ab182
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue