[CLJ-1129] Invalid ns macro can yield a difficult to trace exception Created: 17/Dec/12 Updated: 19/Dec/12 Resolved: 19/Dec/12
|Affects Version/s:||Release 1.4|
|Reporter:||Howard Lewis Ship||Assignee:||Unassigned|
I inadvertently stripped off the namespace part of my ns macro, so that it was (ns (:use .... Clearly a user error, but an easy one. However, the result (from the REPL or the AOT compiler) was not ideal:
The problem here is that there is no indication of what file was being loaded and compiled at the time of the error. Since I was in the middle of refactoring a big swath of code, I had some work to do to track down which file I had mangled.
I would like to see a little more logging to the System/err to identify what resource file was being read and compiled by the compiler at the time of the exception.
|Comment by Andy Fingerhut [ 18/Dec/12 1:12 AM ]|
Howard, is this perhaps a duplicate of
|Comment by Howard Lewis Ship [ 18/Dec/12 11:10 AM ]|
Yes, looks like a dupe to me. Sorry about that, I did do a search for existing issue before adding mine, but they can be hard to find.
|Comment by Andy Fingerhut [ 19/Dec/12 1:09 AM ]|
Closed as duplicate of