Skip to content

Instantly share code, notes, and snippets.

@daveray
Created March 9, 2013 04:45
Show Gist options
  • Save daveray/5122565 to your computer and use it in GitHub Desktop.
Save daveray/5122565 to your computer and use it in GitHub Desktop.
Why does `lein repl` print `(.getCause e)` when an exception occurs rather than the actual exception? This had me scratching my head for a while today.
clawk.main=> (java.net.URI/create ":")
URISyntaxException Expected scheme name at index 0: : java.net.URI$Parser.fail (URI.java:2810)
clawk.main=> *e
#<IllegalArgumentException java.lang.IllegalArgumentException>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment