Merge pull request #1863 from chebykin/show-js-compiler-error

Stringify solc error message instead of Error instance
pull/1868/head
Victor Baranov 6 years ago committed by GitHub
commit 584ad9952f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/explorer/priv/compile_solc.js

@ -12,7 +12,7 @@ var evmVersion = process.argv[8];
var compiled_code = solc.loadRemoteVersion(version, function (err, solcSnapshot) {
if (err) {
console.log(JSON.stringify(err));
console.log(JSON.stringify(err.message));
} else {
const input = {
language: 'Solidity',

Loading…
Cancel
Save