Complete library adoption validation and cleanup
This commit is contained in:
@@ -41,6 +41,10 @@ func runProcess(inv commandkit.Invocation, input processInput) commandkit.Outcom
|
||||
if errors.As(err, &secretsErr) {
|
||||
return commandkit.Failure(secretsErr.Error()).WithCause(err)
|
||||
}
|
||||
var runtimeErr *runtimePreparationError
|
||||
if errors.As(err, &runtimeErr) {
|
||||
return commandkit.Failure(err.Error()).WithCause(err)
|
||||
}
|
||||
if inv.Context.Err() != nil || appconfig.IsAssetError(err) {
|
||||
return commandkit.Failure("Could not prepare processing.").WithCause(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user