Page MenuHomePhabricator

Clarify behavior when a schedule with a given name is not found in a repository

Authored by max on Thu, May 21, 7:16 PM.



Previously, this threw a mysterious StopIteration -- now we explicitly handle it as a user-
code error.

Test Plan


Diff Detail

R1 dagster
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

max created this revision.Thu, May 21, 7:16 PM
max requested review of this revision.Thu, May 21, 7:28 PM
sashank accepted this revision.Thu, May 21, 7:50 PM

Offline discussion: look into whether we can remove the user code error boundary and just raise the exception directly, since all errors will be serialized as a PythonError here anyway

This revision is now accepted and ready to land.Thu, May 21, 7:50 PM