FIX: Ember.warn needs an id

This way errors can be customized/silenced in the console.
This commit is contained in:
Robin Ward
2019-01-16 14:53:13 -05:00
parent 98f26bcaf5
commit 16a7102dad
4 changed files with 10 additions and 5 deletions

View File

@@ -19,7 +19,9 @@ const Mixin = {
export function bufferedRender(obj) {
if (!obj.buildBuffer) {
Ember.warn("Missing `buildBuffer` method");
Ember.warn("Missing `buildBuffer` method", {
id: "discourse.buffered-render.missing-build-buffer"
});
return obj;
}