- UniqueViolation is a lost cause, and the current solution is for clients to retry the request
- StorageArgumentException is a client error
therefore, neither should be logged by the swh-storage server to Sentry
Differential D7565
gunicorn_config: Do not log UniqueViolation and StorageArgumentException to Sentry vlorentz on Apr 13 2022, 2:53 PM. Authored by Tags None Subscribers None
Details
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D7565 (id=27416)Rebasing onto 75aa07325d... Current branch diff-target is up to date. Changes applied before testcommit 9aaea59849d89455f86d0b89862b06e06e8693b4 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Apr 13 14:52:21 2022 +0200 gunicorn_config: Do not log UniqueViolation and StorageArgumentException to Sentry * UniqueViolation is a lost cause, and the current solution is for clients to retry the request * StorageArgumentException is a client error therefore, neither should be logged by the swh-storage server to Sentry Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1594/ Comment Actions Build was aborted Patch application report for D7565 (id=27416)Rebasing onto 75aa07325d... Current branch diff-target is up to date. Changes applied before testcommit 9aaea59849d89455f86d0b89862b06e06e8693b4 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Apr 13 14:52:21 2022 +0200 gunicorn_config: Do not log UniqueViolation and StorageArgumentException to Sentry * UniqueViolation is a lost cause, and the current solution is for clients to retry the request * StorageArgumentException is a client error therefore, neither should be logged by the swh-storage server to Sentry Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1595/ |