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 || {}