From d7258e9eac9e3b9eb3274822c1e4020917717004 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 15 May 2018 18:11:50 +0200 Subject: [PATCH] Update renderer.js --- src/app/ui/renderer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/ui/renderer.js b/src/app/ui/renderer.js index dc28f8b686..22f08bf4ec 100644 --- a/src/app/ui/renderer.js +++ b/src/app/ui/renderer.js @@ -24,6 +24,7 @@ function Renderer (appAPI) { * @param {Object} options {useSpan, noAnnotations, click:(Function), type:(warning, error), errFile, errLine, errCol} */ Renderer.prototype.error = function (message, container, opt) { + if (!message) return if (container === undefined) return opt = opt || {}