Skip to content

Commit 1ccfa73

Browse files
authored
Change finally to catch so that it doesn't immediately close the client
1 parent 1253233 commit 1ccfa73

File tree

1 file changed

+1
-1
lines changed
  • greengrassExamples/StreamManagerKinesis

1 file changed

+1
-1
lines changed

greengrassExamples/StreamManagerKinesis/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ c.onConnected(async () => {
7474
c.close();
7575
}
7676
}, 1000);
77-
} finally {
77+
} catch {
7878
c.close();
7979
}
8080
});

0 commit comments

Comments
 (0)