HomeElementl

Don't keep the managed grpc server process running if there's an error while…

Description

Don't keep the managed grpc server process running if there's an error while loading user code

Summary: We originally added this lazy-load-user-code parameter because it was the only way to get error information surfaced in dagit. Now our loading path is better set up to handle errors (and surface them), so there's no need for this parameter, we can let the process die right away and surface the error in dagit (rather than waiting for the list_repositories error to fail).

Test Plan: BK, load dagit pointing at a file with a syntax error, syntax error still surfaced in dagit

Reviewers: alangenfeld, sashank

Reviewed By: alangenfeld

Differential Revision: https://dagster.phacility.com/D6721