Skip to content

Commit

Permalink
Do not log response errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Feb 23, 2024
1 parent 2b63533 commit db577c1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions acoustid/api/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ def handle(self, req):
1000 * (t1 - t0),
)
except errors.WebServiceError as e:
if not isinstance(e, errors.TooManyRequests):
logger.warning("WS error: %s", e.message)
if self.ctx.statsd is not None:
self.ctx.statsd.incr(
"api.handled_errors_total,code={},request={}".format(
Expand Down

0 comments on commit db577c1

Please sign in to comment.