Merge pull request #218 from ethereum/display-warnings

Display warnings even if there were no errors
pull/1/head
chriseth 8 years ago committed by GitHub
commit 22861f70ad
  1. 5
      src/app/renderer.js

@ -19,7 +19,9 @@ function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVer
$('#output').empty();
if (success) {
self.contracts(data, source);
} else {
}
// NOTE: still need to display as there might be warnings
if (data['error']) {
self.error(data['error']);
}
@ -28,7 +30,6 @@ function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVer
self.error(err);
});
}
}
});
}

Loading…
Cancel
Save