Skip to content

Commit

Permalink
Merge pull request #8 from TheSeldonPlan/add-stacktrace-to-handler-er…
Browse files Browse the repository at this point in the history
…ror-log

changing the error log to use the actual Exception
  • Loading branch information
egracer committed May 18, 2016
2 parents aeaac70 + 572a87d commit 4a27e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/untangled/server/impl/components/handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
(instance? ExceptionInfo error) (parser-read-error->response error)
(instance? Exception error) (unknow-error->response error)
:else (parser-mutate-error->response error))]
(timbre/error error-response "Parser error:\n" (with-out-str (clojure.pprint/pprint error-response)))
(timbre/error error "Parser error:\n" (with-out-str (clojure.pprint/pprint error-response)))
error-response))

(defn valid-response? [result]
Expand Down

0 comments on commit 4a27e29

Please sign in to comment.