ClojureCLR

Errors when requiring a namespace do not contain useful stacktrace

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

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.

Activity

David Miller made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: