How can I make use of the "error" tag in the pipeline run? #10836
Unanswered
rzanetti-cpqd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking for a way to retrieve a user-friendly message of why a pipeline execution went bad.
For now, I am saving the "pretty" message on a specific artifact I then retrieve to show on our custom-UI - and that artifact is created on a try-except block with a message like "The dataset length must be over 500 lines", for instance.
However, this approach is a hacky way I found for now and am looking for a better way to achieve this.
Looking at the object from the get_run call, there is an "error" field that can be seen on the response payload.
I cannot seem to populate this field through exception raising. It always returns null
So I am wondering if you could point me in the right direction - or even another approach you might have been using for this problem I am facing.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions