AdminShutdown exception from swh-indexer-storage should not be reported to Sentry
Sentry Issue: SWH-INDEXER-T4
AdminShutdown: terminating connection due to administrator command
FATAL: server conn crashed?
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
(7 additional frame(s) were not displayed)
...
File "swh/indexer/storage/__init__.py", line 349, in content_mimetype_get
for c in db.content_mimetype_get_from_list(ids, cur)
File "swh/indexer/storage/__init__.py", line 346, in <listcomp>
ContentMimetypeRow.from_dict(
File "swh/indexer/storage/db.py", line 179, in content_mimetype_get_from_list
"content_mimetype", ids, self.content_mimetype_cols, cur=cur
File "swh/indexer/storage/db.py", line 125, in _get_from_list
yield from execute_values_generator(cur, query, ((_id,) for _id in ids))
File "swh/core/db/db_utils.py", line 478, in execute_values_generator
cur.execute(b"".join(parts))