Skip to content

Commit

Permalink
fix(log): ensure executionId is cleaned up from MDC (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
asher authored Oct 12, 2017
1 parent 8ba231e commit 622452b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class QueueProcessor(
log.warn("Executor at capacity, immediately re-queuing message", e)
queue.push(message)
registry.counter(pollRejectedMessage).increment()
} finally {
MDC.remove(SPINNAKER_EXECUTION_ID)
}
} else {
registry.counter(pollErrorRateId).increment()
Expand Down

0 comments on commit 622452b

Please sign in to comment.