Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/environment/transition_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func (t DeployTransition) do(env *Environment) (err error) {
localErr = cmd.Run()
if localErr != nil {
log.WithField("partition", env.Id().String()).
WithField("level", infologger.IL_Support).
Warnf("cleanup script failed on %s : %s\n", flp, localErr.Error())
scriptErrors = multierror.Append(scriptErrors, fmt.Errorf("cleanup unsuccessful on %s: %w", flp, localErr))
} else {
Expand Down Expand Up @@ -197,6 +198,7 @@ func (t DeployTransition) do(env *Environment) (err error) {
}
if err != nil {
log.WithField("partition", env.Id().String()).
WithField("level", infologger.IL_Ops).
Warnf("pre-deployment cleanup, %s", err.Error())
err = nil // we don't want to fail the deployment because of pre-deploy cleanup issues
}
Expand Down