Catch exception DagsterInvalidDefinitionError
#21330
kennycontreras
started this conversation in
General
Replies: 1 comment
-
A couple things to troubleshoot:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone 👋
I'm working on applying some minor improvements to a Dagster environment, and I'd like to be able to catch an exception when Dagster, for example, finds a duplicated job name. By default, this will raise
DagsterInvalidDefinitionError
I've been trying to catch the exception without luck.
Here's an example of my
repo.py
file to load the pipelinesAll the other exceptions work but not
DagsterInvalidDefinitionError
.I've tried importing
DagsterInvalidDefinitionError
from the Dagster library and even from the_core
module.Does anyone have any tips or has tried something similar?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions