★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/685724b53dNouvelle recherche | Portail wanayoo
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 targos committed Nov 4, 2018
1 parent d59dc0d commit 685724b53d462270868f4edcaea71d4db113b930
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/assert.js
@@ -315,8 +315,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 685724b

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