Skip to content

Commit 1cd9e74

Browse files
committed
Prints response when invalid JSON
1 parent e8f52b4 commit 1cd9e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-dart-flutter-daemon.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ Optionally use TEST to compare the hash keys."
108108
(substring response 1 -1)
109109
response))
110110
(error
111-
(jsonrpc--warn "Invalid JSON: %S %s"
112-
oops (buffer-string))
111+
(jsonrpc--warn "Invalid JSON: %S %s %s"
112+
oops (buffer-string) response)
113113
nil)))
114114
(conn (process-get proc 'jsonrpc-connection)))
115115
(when json-message

0 commit comments

Comments
 (0)