Ghost/ghost/mw-error-handler/lib
Sam Lord 51588c6a24 Ensure Sentry is triggered before replacing the stack trace
refs: https://github.com/TryGhost/Team/issues/1369

If we prepare the error for users to view before using Sentry, then the error passed to Sentry will have the stack trace removed for production environments.

@tryghost/errors@1.2.5 also made it so that the error is not mutated, but cloned and a new one is returned.
2022-03-11 10:47:26 +00:00
..
mw-error-handler.js Ensure Sentry is triggered before replacing the stack trace 2022-03-11 10:47:26 +00:00