We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab988a commit d84f23fCopy full SHA for d84f23f
drepl.el
@@ -215,7 +215,10 @@ and this function returns the response data directly."
215
"Function intended for use as an entry of `ansi-osc-handlers'.
216
TEXT is a still unparsed message received from the interpreter."
217
(drepl--log-message "read %s" text)
218
- (drepl--handle-response drepl--current (drepl--json-decode text)))
+ (condition-case err
219
+ (drepl--handle-response drepl--current (drepl--json-decode text))
220
+ (t (drepl--log-message "error: %s" err)
221
+ (message "Error processing dREPL message"))))
222
223
(defun drepl--handle-response (repl data)
224
"React to message DATA coming from the REPL process."
0 commit comments