diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index a888263a51..d86e8b4680 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -127,7 +127,7 @@ module.exports = class CompileTab { var error = false if (data['error']) { error = true - self._deps.renderer.error(data['error'].formattedMessage, self._view.errorContainer, {type: data['error'].severity}) + self._deps.renderer.error(data['error'].formattedMessage, self._view.errorContainer, {type: data['error'].severity || 'error'}) } if (data.errors && data.errors.length) { error = true