Unverified Commit b060355f authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #977 from ethereum/fixReturningInternalError

Fix returning internal error
parents 8bee42d9 ef75723b
...@@ -93,7 +93,7 @@ function Compiler (handleImportCall) { ...@@ -93,7 +93,7 @@ function Compiler (handleImportCall) {
result = compiler.compileStandardWrapper(input, missingInputsCallback) result = compiler.compileStandardWrapper(input, missingInputsCallback)
result = JSON.parse(result) result = JSON.parse(result)
} catch (exception) { } 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) compilationFinished(result, missingInputs, source)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment