Improve error message when user script fails #709
Labels
enhancement
Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)
good first issue
Indicates a good issue for first-time contributors
Milestone
The current error message is misleading:
orion.core.worker.consumer.ExecutionError: Something went wrong. Check logs. Process returned with code -9 !
First, there are no clear mentions that the issue is that the user's script crashed. This should be clearly mentioned. Second, Check logs sounds like it Oríon was writting some logs somewhere. It is not the case. The error message should only state the the user's script failed, and the user will know that it should look at the output of the script to see if there is an error message.
On the same topic, is the error message from the script printed in the terminal? For example if the user's script is written in Python, would the stack-trace be printed? It should be.
The text was updated successfully, but these errors were encountered: