Skip to content
Permalink
Browse files

assert: remove unused catch bindings

PR-URL: #24079
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
  • Loading branch information...
cjihrig authored and MylesBorins committed Nov 4, 2018
1 parent a5462ba commit dedf0e5cde2f14366b725a156458ce7ccce8dfcc
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/assert.js
@@ -314,8 +314,8 @@ function getErrMessage(message, fn) {
errorCache.set(identifier, message);

return message;
} catch (e) {
// Invalidate cache to prevent trying to read this part again.
} catch {
// Invalidate cache to prevent trying to read this part again.
errorCache.set(identifier, undefined);
} finally {
// Reset limit.

0 comments on commit dedf0e5

Please sign in to comment.
You can’t perform that action at this time.