Show up login dialog on 404 error when login
Only 404 needs to go back to login dialog. issue5837 review21231003
This commit is contained in:
1 parent
36aab63dac
commit
d214800cda
1 file changed
+1
-1
+1
-1
@@ -841,7 +841,7 @@ class Main(object):
|
||||
and exception.faultCode == 'QueryCanceled'):
|
||||
return
|
||||
if (isinstance(exception, TrytonServerError)
|
||||
and exception.faultCode.startswith('403')):
|
||||
and exception.faultCode.startswith('404')):
|
||||
return self.sig_login()
|
||||
common.process_exception(exception)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user