DEV: Disable RAISE_ON_DEPRECATION (#17351)

Some plugins/themes are still awaiting updates for some deprecations, and they started raising errors in development. It's not clear that the errors are development-only, so it can be quite confusing for developers.

Disabling this flag for now until we can make the messages clearer and fix up existing deprecation issues in themes/plugins.
This commit is contained in:
David Taylor 2022-07-06 04:56:16 +01:00 committed by GitHub
parent 59c8774957
commit 6c49ec39ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ module.exports = function (environment) {
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV.EmberENV.RAISE_ON_DEPRECATION = true;
ENV.EmberENV.RAISE_ON_DEPRECATION = false;
}
if (environment === "test") {
@ -47,7 +47,7 @@ module.exports = function (environment) {
ENV.APP.rootElement = "#ember-testing";
ENV.APP.autoboot = false;
ENV.EmberENV.RAISE_ON_DEPRECATION = true;
ENV.EmberENV.RAISE_ON_DEPRECATION = false;
}
if (environment === "production") {