Page MenuHomePhabricator

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

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

Details

Summary

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

Test Plan

Unit

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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