File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## master (unreleased)
4
4
5
+ ### Bugs fixed
6
+
7
+ * [ #9 ] ( https://github.com/clojure-emacs/haystack/issues/9 ) : handle unloadable classes.
8
+
9
+ ## 0.0.3
10
+
5
11
### Changes
6
12
7
13
* Add stacktrace analyzer and parsers.
Original file line number Diff line number Diff line change 87
87
path->url
88
88
str)
89
89
(str (frame->url frame)))))
90
- (assoc frame :file-url (some->> frame :name symbol
91
- (java/resolve-symbol 'user)
92
- :file
93
- path->url
94
- str))))
90
+ (assoc frame :file-url (try
91
+ (some->> frame :name symbol
92
+ (java/resolve-symbol 'user)
93
+ :file
94
+ path->url
95
+ str)
96
+ (catch Throwable _
97
+ ; ; `java/resolve-symbol` can throw exceptions when the underlying class cannot be loaded.
98
+ ; ; See https://github.com/clojure-emacs/haystack/issues/9
99
+ nil )))))
95
100
96
101
(defn- analyze-file
97
102
" Associate the file type (extension) of the source file to the frame map, and
You can’t perform that action at this time.
0 commit comments