NotLogged exception is no more used
issue5415 review17971003
This commit is contained in:
1 parent
33b240736c
commit
c19f93cd9b
2 files changed
+2
-10
No files matched your search
@@ -16,8 +16,7 @@ from trytond.config import config
|
||||
from trytond import __version__
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.cache import Cache
|
||||
from trytond.exceptions import UserError, UserWarning, NotLogged, \
|
||||
ConcurrencyException
|
||||
from trytond.exceptions import UserError, UserWarning, ConcurrencyException
|
||||
from trytond.tools import is_instance_method
|
||||
from trytond.wsgi import app
|
||||
|
||||
@@ -212,7 +211,7 @@ def _dispatch(request, pool, *args, **kwargs):
|
||||
transaction.rollback()
|
||||
continue
|
||||
raise
|
||||
except (NotLogged, ConcurrencyException, UserError, UserWarning):
|
||||
except (ConcurrencyException, UserError, UserWarning):
|
||||
logger.debug(log_message, *log_args, exc_info=True)
|
||||
raise
|
||||
except Exception:
|
||||
|
||||
Reference in new issue
Block a user