Ghost/ghost
Christa 87d21662bc
🐛 fixed error message code for HB translate helper (#15529)
closes: https://github.com/TryGhost/Ghost/issues/15500

- Per the issue, Ghost has a policy to never throw 500 Internal Server errors for theme issues. This change adds a check inside of `ghost\core\core\frontend\helpers\t.js` if `text` or `options` is undefined, to throw an `IncorrectUsageError` error within the function.
- Messaging was borrowed from `ghost\core\core\frontend\web\middleware\error-handler.js`.
2022-10-12 21:14:53 +01:00
..
adapter-manager Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
admin 🐛 Fixed settings overriden when updated from multiple tabs (#15536) 2022-10-12 14:03:54 +01:00
api-framework Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
api-version-compatibility-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
audience-feedback Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
bootstrap-socket Update Test & linting packages 2022-10-05 00:36:08 +00:00
constants Update Test & linting packages 2022-10-05 00:36:08 +00:00
core 🐛 fixed error message code for HB translate helper (#15529) 2022-10-12 21:14:53 +01:00
custom-theme-settings-service Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
domain-events Organized package dependencies 2022-08-18 11:55:49 +02:00
email-analytics-provider-mailgun Update Test & linting packages 2022-10-05 00:36:08 +00:00
email-analytics-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
email-content-generator Organized package dependencies 2022-08-18 11:55:49 +02:00
express-dynamic-redirects Organized package dependencies 2022-08-18 11:55:49 +02:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
job-manager Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
link-redirects Update Test & linting packages 2022-10-05 00:36:08 +00:00
link-replacer Update Test & linting packages 2022-10-05 00:36:08 +00:00
link-tracking Update Test & linting packages 2022-10-05 00:36:08 +00:00
magic-link Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
mailgun-client Added logging & metrics to mailgun API calls 2022-10-11 15:11:46 +01:00
member-analytics-service Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
member-attribution Update Test & linting packages 2022-10-05 00:36:08 +00:00
member-events Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-analytics-ingress Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-api Fixed import of bson-objectid in accordance to the typings 2022-10-12 14:54:35 +07:00
members-csv Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-events-service Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
members-importer Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
members-ssr Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
minifier Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
mw-api-version-mismatch Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
mw-cache-control Update Test & linting packages 2022-10-05 00:36:08 +00:00
mw-error-handler Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
mw-session-from-token Update dependency express to v4.18.2 2022-10-10 10:29:34 +07:00
mw-update-user-last-seen Update Test & linting packages 2022-10-05 00:36:08 +00:00
mw-vhost Update Test & linting packages 2022-10-05 00:36:08 +00:00
oembed-service Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
offers Fixed import of bson-objectid in accordance to the typings 2022-10-12 14:54:35 +07:00
package-json Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
payments Added missing jsdoc imports for PaymentsService 2022-10-12 11:08:49 +07:00
portal Update dependency minimist to v1.2.7 2022-10-12 10:16:31 +07:00
referrers Update Test & linting packages 2022-10-05 00:36:08 +00:00
security Update Test & linting packages 2022-10-05 00:36:08 +00:00
session-service Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
settings-path-manager Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
staff-service 🎨 Improved preview text on member alert emails (#15543) 2022-10-07 14:31:05 +04:00
stats-service Pinned moment dependency 2022-10-12 15:42:46 +07:00
stripe Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
update-check-service Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
verification-trigger Updated @tryghost dependencies (#15479) 2022-10-12 10:16:05 +07:00
version-notifications-data-service Update Test & linting packages 2022-10-05 00:36:08 +00:00