Ghost/ghost
Hannah Wolfe dfffa309a8
Improved member importer error handling (#15843)
refs: https://github.com/TryGhost/Team/issues/1121

- This makes several key changes to the way errors are handled in the member importer, to ensure that we only show error messages to users that we wrote.
- Fundamentally, we no longer trust all API errors, and instead only trust a set of very specific API errors. Anything outside of that is replaced with a generic error message.
- Also switches the server-side error generated for email verification (which can throw during member import) to be a HostLimitError, as that is a more appropriate class.
- Note: there are many other parts of Ghost admin that need a similar overhaul, and a similar change we need to introduce server side to fully resolve the underlying issue of bubbling up code errors to the UI.
2022-11-17 19:41:39 +00:00
..
adapter-manager
admin Improved member importer error handling (#15843) 2022-11-17 19:41:39 +00:00
api-framework
api-version-compatibility-service
audience-feedback
bootstrap-socket
constants
core Enabled browser-based tests to start Ghost with default test fixtures 2022-11-17 17:00:54 +00:00
custom-theme-settings-service
data-generator
domain-events
email-analytics-provider-mailgun
email-analytics-service
email-content-generator
express-dynamic-redirects
extract-api-key
html-to-plaintext
job-manager
link-redirects
link-replacer
link-tracking
magic-link
mailgun-client Update dependency mailgun.js to v8.0.4 2022-11-16 17:46:29 +00:00
member-attribution
member-events
members-api
members-csv
members-events-service
members-importer
members-ssr
minifier
mw-api-version-mismatch
mw-cache-control
mw-error-handler
mw-session-from-token
mw-update-user-last-seen
mw-vhost
oembed-service
offers
package-json
payments Limited Stripe price lookups (#15823) 2022-11-17 14:33:46 +01:00
portal Updated portal tests 2022-11-17 13:16:12 +05:30
referrers
security
session-service
settings-path-manager
staff-service
stats-service
stripe Limited Stripe price lookups (#15823) 2022-11-17 14:33:46 +01:00
tiers
update-check-service
verification-trigger Improved member importer error handling (#15843) 2022-11-17 19:41:39 +00:00
version-notifications-data-service