Skip to content

A platform for community discussion. Free, open, simple.

DEV: Disable RAISE_ON_DEPRECATION (#17351)

David Taylor6c49ec39ea52
diff --git a/app/assets/javascripts/discourse/config/environment.js b/app/assets/javascripts/discourse/config/environment.js
index c98cb76aaf2..b8dc3564e1c 100644
--- a/app/assets/javascripts/discourse/config/environment.js
+++ b/app/assets/javascripts/discourse/config/environment.js
@@ -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") {