Skip to content

Commit 15ddcac

Browse files
committed
[core] Include envId in pre-deploy cleanup failure message
1 parent 4fb6ba0 commit 15ddcac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/environment/transition_deploy.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ func (t DeployTransition) do(env *Environment) (err error) {
194194
t.taskman.MessageChannel <- taskmanMessage
195195
}
196196
if err != nil {
197-
log.Warnf("pre-deployment cleanup, %s", err.Error())
197+
log.WithField("partition", env.Id().String()).
198+
Warnf("pre-deployment cleanup, %s", err.Error())
198199
err = nil // we don't want to fail the deployment because of pre-deploy cleanup issues
199200
}
200201

0 commit comments

Comments
 (0)