diff --git a/src/display/text_layer.js b/src/display/text_layer.js index 27f27d02e..d0d58379d 100644 --- a/src/display/text_layer.js +++ b/src/display/text_layer.js @@ -500,7 +500,7 @@ var renderTextLayer = (function renderTextLayerClosure() { this._layoutTextCtx.canvas.height = 0; this._layoutTextCtx = null; } - }); + }).catch(() => { /* Avoid "Uncaught promise" messages in the console. */ }); } TextLayerRenderTask.prototype = { get promise() {