generated from canonical/starbase
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
Description
What needs to get done
Extract execution of actions of the lifecycle to a specific method of the LifecycleService
to enable applications overriding it.
Applications are expected to only raise craft_cli.CraftError
s in this overriding method.
Let CraftError
errors pass through in run
.
See prototype https://github.com/canonical/craft-application/tree/work/catch-run-exceptions
Why it needs to get done
Once canonical/craft-parts#1164 is merged, EnvironmentChangedError
raised by craft-parts is destined to be caught and handled by the application.