Skip to content

Commit 008a2f3

Browse files
committed
feat: Include juno error message on errors
1 parent 9d97be3 commit 008a2f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/juno-node.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ export default class JunoModule {
192192
}
193193

194194
default: {
195-
err = TypeError("Error message/Invalid message received from juno");
195+
err = TypeError(`Error message/Invalid message received from juno:
196+
${JSON.stringify(response)}`);
196197
}
197198
}
198199

0 commit comments

Comments
 (0)