Hi there, kind of silly question but I'm hoping there's a simple way to address this.
I'm trying to make sure that when certain job failure conditions arise, that a workflow task step fails. I've tried this with both raise RuntimeError and sys.exit, but in both cases I'm seeing more in the output than I would like.
I would like to output the most minimal amount of text so that users who are troubleshooting can easily read the custom error message we are outputing.
Is there another/better approach to what I'm trying to do, or is this a Databricks limitation in how raised errors or system exit messages are output?
Also, would one be recommended over the other (raised exception vs system exit)?
Below are examples for both:

