isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

chore: change error handler to use logger.error #1284

Closed alexanderleegs closed 6 months ago

alexanderleegs commented 6 months ago

Problem

Resolves ISOM-916. Previously, our catch-all error handler was using logger.info, which meant that unrecognised/unhandled errors were being tagged as info in datadog. This PR modifies them to use logger.error instead.

Tests