Skip to content

Commit

Permalink
Change patch json from error to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbase12 committed Sep 23, 2024
1 parent 0abd3a5 commit ca0a579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
result
(throw (Exception. "Patch interpretation failed!")))
(catch Exception e
(log/error "ex-message:" (ex-message e) "ex-data:" (ex-data e) "exception:" e "resource:" (prn-str obj) "patches:" (prn-str (vec patches)))
(log/debug "Json patch exception - ex-message:" (ex-message e) "ex-data:" (ex-data e) "exception:" e "resource:" (prn-str obj) "patches:" (prn-str (vec patches)))
(throw (r/ex-bad-request (str "Json patch exception: " (ex-message e)))))))

(defn- json-patch-request? [request]
Expand Down

0 comments on commit ca0a579

Please sign in to comment.