Skip to content

Commit

Permalink
Remove duplicate log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
DeLaGuardo committed Dec 13, 2021
1 parent ac37cbc commit b2a0334
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/puppetlabs/trapperkeeper/internal.clj
Original file line number Diff line number Diff line change
Expand Up @@ -622,10 +622,9 @@
(a/stop [this throw?]
(let [errors (shutdown! app-context)]
(if (and throw? (seq errors))
(let [msg (i18n/trs "Error during app shutdown!")
e (ex-info msg {:errors errors})]
(log/error e msg)
(throw e))
(let [msg (i18n/trs "Error during app shutdown!")]
(log/error msg)
(throw (ex-info msg {:errors errors})))
this)))
(a/restart [this]
(try
Expand Down

0 comments on commit b2a0334

Please sign in to comment.