Created
February 14, 2017 09:05
-
-
Save blackawa/93cb66e0d45c56a5f52ef0e09378cc77 to your computer and use it in GitHub Desktop.
loggerにスタックトレース文字列を渡す
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(try (/ 1 0) | |
(catch Exception e | |
(println (clojure.string/join "\n " (cons (str e(.getMessage e)) (map str (.getStackTrace e))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment