better error message
This commit is contained in:
parent
7f0b77327e
commit
4cb534838a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def process_code(request):
|
|||
out = interpreter.saved_output
|
||||
except Exception as e:
|
||||
print('Error:', e)
|
||||
out = 'Error: Code execution failed'
|
||||
out = 'Error: Code execution failed - ' + str(e)
|
||||
|
||||
end_state = interpreter.print_data(interpreter.last_step)
|
||||
|
||||
|
|
Loading…
Reference in a new issue