mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 08:54:36 +03:00
9c3ddf4b2b
refs https://github.com/TryGhost/Team/issues/1121 - adds error reporting for `notifications.showAlert()` in addition to `notifications.showAPIError()` because the former is used for some handled errors but will still show the undesired red error bar - adds `shown_to_user` tag to all reported errors. Only errors that result in the red error bar will be reported with the tag as `true`, there may still be cases where we display errors outside of the red error bar but those wouldn't make it to Sentry either, we'll need a full audit of Admin source to find those situations and handle the reporting manually - adds `ghost` context to errors that are shown in the red bar - `ghost_error_code` - code returned from the API or passed manually through the `notifications.showAPIError()` options argument. Will be filled in once the error message has been audited+approved - `displayed_message` - the full error message displayed to the user. Admin combines multiple attributes from the error details so it's useful to see what we actually show - `full_error` - the actual API error response or a client-side generated error object - `source` - whether the red bar came from `.showAlert()` or `.showAPIError()`, useful for tracking down where errors originated |
||
---|---|---|
.. | ||
editor | ||
member | ||
members | ||
offer | ||
settings | ||
setup | ||
tag | ||
application.js | ||
authenticated.js | ||
dashboard.js | ||
designsandbox.js | ||
editor.js | ||
error404.js | ||
home.js | ||
launch.js | ||
member.js | ||
members.js | ||
offer.js | ||
offers.js | ||
pages.js | ||
posts.js | ||
pro.js | ||
reset.js | ||
settings.js | ||
setup.js | ||
signin.js | ||
signout.js | ||
signup.js | ||
site.js | ||
tag.js | ||
tags.js | ||
unauthenticated.js | ||
whatsnew.js |