Skip to content

Commit

Permalink
refactor(final): remove unused error in catch
Browse files Browse the repository at this point in the history
Co-authored-by: James Sumners <james@sumners.email>
  • Loading branch information
javiertury and jsumners committed Sep 12, 2021
1 parent 9e9ee6e commit 3c75a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tools.js
Expand Up @@ -463,7 +463,7 @@ function final (logger, handler) {
if (!hasHandler) {
try {
stream.flushSync()
} catch (e) {
} catch {
// it's too late to wait for the stream to be ready
// because this is a final tick scenario.
// in practice there shouldn't be a situation where it isn't
Expand Down

0 comments on commit 3c75a14

Please sign in to comment.