mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Import ember ENV instead of Ember.testing (#8305)
This commit is contained in:
committed by
GitHub
parent
60a235d128
commit
9ffdbf912f
@@ -51,7 +51,8 @@ export default Route.extend({
|
||||
})
|
||||
.catch(function(error) {
|
||||
badge.set("preview_loading", false);
|
||||
Ember.Logger.error(error);
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(error);
|
||||
bootbox.alert("Network error");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user