exceptions: don't log error the lookup method errors. This happens so often we spam
the logs with errors , while it's simply commit not found. Other backends don't report this anyway exception HG.
This commit is contained in:
parent
21c608be71
commit
b51d537e66
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ def map_vcs_exceptions(func):
|
|||
args = e.args
|
||||
else:
|
||||
args = [__traceback_info__ or 'unhandledException']
|
||||
if __traceback_info__ and kind != 'unhandled':
|
||||
if __traceback_info__ and kind not in ['unhandled', 'lookup']:
|
||||
# for other than unhandled errors also log the traceback
|
||||
# can be usefull for debugging
|
||||
log.error(__traceback_info__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue