mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
a97e2b823e
refs TryGhost/Product#4175 - Added error handling to Sentry's beforeSend function in both Admin and Core, so if there is any error in beforeSend, we will still send the unmodified event to Sentry - This is in response to an incident yesterday wherein the beforeSend function threw an error due to an unexpected missing value in the exception. The event sent to Sentry was the error in the beforeSend function, and the original error never reached Sentry. - If the original event had reached Sentry, even if unmodified by the logic in beforeSend, we could have been alerted to the issue sooner and more easily identified all affected sites. - Also added defensive logic to protect for certain values in the exception passed to beforeSend not existing and added unit tests for the beforeSend function in admin and core |
||
---|---|---|
.. | ||
analytics.js | ||
bound-one-way.js | ||
caja-sanitizers.js | ||
copy-text-to-clipboard.js | ||
ctrl-or-cmd.js | ||
currency.js | ||
fetch-koenig-lexical.js | ||
flatten-grouped-options.js | ||
get-scroll-parent.js | ||
ghost-paths.js | ||
isNumber.js | ||
link-component.js | ||
password-generator.js | ||
publish-options.js | ||
route.js | ||
selection-list.js | ||
sentry.js | ||
shortcuts.js | ||
slug-url.js | ||
window-proxy.js |