Skip to content

Commit

Permalink
Remove spurious log message
Browse files Browse the repository at this point in the history
Co-authored-by: Iain Wood <iain.wood@flexiana.com>
  • Loading branch information
gmsvalente and Iain Wood committed Feb 14, 2024
1 parent 48f8fc0 commit e46e5aa
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/xiana/interceptor/queue.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
direction-enter? (= :enter direction)
exception (:error state)]

(log/debug (format "%s | %s | err?: %s | exception %s"
direction
(-> interceptors first :name)
direction-error?
exception))

(cond
;; just got an exception, executing all remaining interceptors backwards
(and exception (not direction-error?))
Expand All @@ -67,6 +61,11 @@
next-interceptors (if (and (:error state) (= :leave direction))
interceptors
(rest interceptors))]
(log/debug (format "%s | %s | err?: %s | exception %s"
direction
(-> interceptors first :name)
direction-error?
exception))
(recur state
next-interceptors
(when direction-enter? (conj backwards (first interceptors)))
Expand Down

0 comments on commit e46e5aa

Please sign in to comment.