From 56dda9ccfc1a1923d8e465026b6893005255baf4 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 || {}