Skip to content

Commit 8db1b75

Browse files
committed
Fix: improve error reporting.
1 parent 4b5c7f4 commit 8db1b75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/CodeChatEditorFramework.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ class WebSocketComm {
288288
const result_contents = value as MessageResult;
289289
if ("Err" in result_contents) {
290290
report_error(
291-
`Error in message ${id}: ${result_contents.Err}.`,
291+
`Error in message ${id}: ${JSON.stringify(result_contents.Err)}.`,
292+
result_contents.Err,
292293
);
293294
}
294295
break;

0 commit comments

Comments
 (0)