Ghost/ghost/admin/app/utils
Chris Raible a97e2b823e
Added error handling to Sentry's beforeSend (#19109)
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
2023-11-23 02:46:50 +00:00
..
analytics.js Added trackEvent util for sending events to Plausible (#16824) 2023-05-18 14:32:50 +01:00
bound-one-way.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
caja-sanitizers.js Fixed multiple no-shadow linting errors 2020-06-17 09:35:46 +01:00
copy-text-to-clipboard.js 🐛 Fixed copy-to-clipboard buttons in Chrome + Firefox 2021-10-05 15:32:23 +01:00
ctrl-or-cmd.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
currency.js Fixed typos (#18648) 2023-10-31 15:21:44 +00:00
fetch-koenig-lexical.js Implemented cachebuster for Admin-X Settings and Koenig-Lexical files 2023-10-06 10:41:37 +02:00
flatten-grouped-options.js Brought checkboxes back to publish menu recipient selection (#1972) 2021-05-21 18:22:01 +01:00
get-scroll-parent.js Updated About/What's new? page (#1872) 2021-09-08 14:00:24 +02:00
ghost-paths.js Updated Admin-X bundling process 2023-09-19 11:31:55 +02:00
isNumber.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
link-component.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
password-generator.js Fix linting errors 2019-07-22 11:21:24 +01:00
publish-options.js 🐛 Fixed email only to post rescheduling. (#17538) 2023-07-31 13:32:58 +02:00
route.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
selection-list.js Added bulk edit pages API and admin UI (#16633) 2023-04-14 12:16:15 +02:00
sentry.js Added error handling to Sentry's beforeSend (#19109) 2023-11-23 02:46:50 +00:00
shortcuts.js 🐛 Fixed pasting into the post tags input not working (#1739) 2022-08-03 11:14:12 +01:00
slug-url.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
window-proxy.js use windowProxy to avoid mangling URL during team acceptance tests 2017-11-10 14:27:47 +00:00