Skip to content

Commit

Permalink
Fix formatting of long lines in middleware.web
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Nov 29, 2024
1 parent 2681e13 commit a3f44a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/duct/middleware/web.clj
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@
(catch Throwable _ (internal-error (error-handler request)))))
([request respond raise]
(try
(handler request respond (fn [_] (respond (internal-error (error-handler request)))))
(catch Throwable _ (respond (internal-error (error-handler request))))))))
(handler request respond
(fn [_] (respond (internal-error (error-handler request)))))
(catch Throwable _
(respond (internal-error (error-handler request))))))))

(defmethod ig/init-key ::log-requests
[_ {:keys [logger options]}]
Expand Down

0 comments on commit a3f44a4

Please sign in to comment.