Skip to content

Commit

Permalink
Merge pull request ethereum#1312 from ethereum/yann300-patch-8
Browse files Browse the repository at this point in the history
Fix Render warning without msg
  • Loading branch information
yann300 authored May 17, 2018
2 parents 64033da + 56dda9c commit 4071e96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/ui/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {}

Expand Down

0 comments on commit 4071e96

Please sign in to comment.