[CLJCLR-10] Errors when requiring a namespace do not contain useful stacktrace Created: 03/Mar/13 Updated: 12/Mar/13 Resolved: 12/Mar/13
|Reporter:||Aaron Craelius||Assignee:||David Miller|
When a namespace fails to load, a stack trace for just the require/load itself is shown - the actual cause is wrapped and hard to uncover. Putting a println statement in the catch clause of clojure.core/load-lib is one possible fix for this, but then two stack traces are displayed. Still, this may be worthwhile because debugging these errors can be a headache.
|Comment by David Miller [ 12/Mar/13 11:33 PM ]|
The changes to make the loading code throw exceptions rather than catch exceptions and return status codes ( https://github.com/clojure/clojure-clr/commit/e6febd45d53c983d696b83de62cf794be1d165aa ) should have made Exceptions during loading accessible further down the stack (i.e., the REPL).