Skip to content

Commit c735f5a

Browse files
Fix the Greengrass Discovery error print (#386)
1 parent 7bd30a8 commit c735f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/node/basic_discovery/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ async function main(argv: Args) {
211211
console.log('Complete!');
212212
})
213213
.catch((reason) => {
214-
console.log(`DISCOVERY SAMPLE FAILED: ${reason}`);
214+
console.log(`DISCOVERY SAMPLE FAILED: ${JSON.stringify(reason)}`);
215215
});
216216

217217
// Allow node to die if the promise above resolved

0 commit comments

Comments
 (0)