Ghost/ghost/core/test/unit/shared
Hannah Wolfe 62cd52ff98 Improved Sentry server side error reporting
refs: https://github.com/TryGhost/Team/issues/1121
refs: 54574025e0

- The previous change to fall back to a generic error on the server side is resulting in lots of much less useful Sentry reports
- For unexpected errors, change what's sent to Sentry back to context
- This is done by adding a specific code, so we don't have to match on a string that might change
- Also add the error type, id, code & statusCode as tags to the events - these are searchable structured data
- Adding code as a tag also makes it possible to find all errors that showed the generic message
2022-11-23 12:37:24 +00:00
..
config 🐛 Fixed Comments administration for self hosters (#15239) 2022-08-15 15:38:19 -04:00
sentry.test.js Improved Sentry server side error reporting 2022-11-23 12:37:24 +00:00
settings-cache.test.js Used in memory cache adapter in settigs cache manager 2022-08-05 02:28:33 +12:00