mirror of https://github.com/databricks/cli.git
log log failure
This commit is contained in:
parent
8504e47917
commit
a22ee2e1e6
|
@ -205,7 +205,10 @@ func (r *pipelineRunner) Run(ctx context.Context, opts *Options) error {
|
|||
}
|
||||
if state == pipelines.UpdateInfoStateFailed {
|
||||
log.Printf("%s Update has failed!", prefix)
|
||||
r.logErrorEvent(ctx, pipelineID, updateID)
|
||||
err := r.logErrorEvent(ctx, pipelineID, updateID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return fmt.Errorf("update failed")
|
||||
}
|
||||
if state == pipelines.UpdateInfoStateCompleted {
|
||||
|
|
Loading…
Reference in New Issue