We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77e0594 + f19d1c1 commit 51aff29Copy full SHA for 51aff29
node-client/src/watch.ts
@@ -43,7 +43,7 @@ export class Watch {
43
if (obj.type && obj.object) {
44
callback(obj.type, obj.object);
45
} else {
46
- throw new Error(`unexpected object: ${obj}`);
+ throw new Error(`unexpected object: ${JSON.stringify(obj)}`);
47
}
48
});
49
0 commit comments