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.
1 parent 1ccfa73 commit 0a1bb21Copy full SHA for 0a1bb21
greengrassExamples/StreamManagerKinesis/index.js
@@ -69,7 +69,7 @@ c.onConnected(async () => {
69
const buf = Buffer.alloc(1);
70
buf.writeUInt8(Math.floor(Math.random() * 255), 0);
71
await c.appendMessage(STREAM_NAME, buf);
72
- } finally {
+ } catch {
73
clearInterval(interval);
74
c.close();
75
}
0 commit comments