Skip to content

Commit

Permalink
monitoring: better standard usage warnings
Browse files Browse the repository at this point in the history
* Standard usage warnings should be ignored in Sentry.
* Close: #3600

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
  • Loading branch information
rerowep committed Apr 3, 2024
1 parent 20f7c0d commit 32e0acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rero_ils/modules/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ def create(cls, data, id_=None, delete_pid=False,
# TODO: remove validation error once the angular editor
# validation is complete
except Exception as err:
current_app.logger.error(
f'{cls.__name__} err:{err} data:{data}')
current_app.logger.info(
f'CREATE ERROR: {cls.__name__}: {err} data:{data}')
raise
return record

Expand Down

0 comments on commit 32e0acb

Please sign in to comment.