Merge pull request #977 from ethereum/fixReturningInternalError

Fix returning internal error
pull/5370/head
yann300 6 years ago committed by GitHub
commit 18a71b1a07
  1. 2
      remix-solidity/src/compiler/compiler.js

@ -93,7 +93,7 @@ function Compiler (handleImportCall) {
result = compiler.compileStandardWrapper(input, missingInputsCallback)
result = JSON.parse(result)
} catch (exception) {
result = { error: 'Uncaught JavaScript exception:\n' + exception }
result = { error: { formattedMessage: 'Uncaught JavaScript exception:\n' + exception, severity: 'error', mode: 'panic' } }
}
compilationFinished(result, missingInputs, source)

Loading…
Cancel
Save