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 d59dc0d commit 685724bCopy full SHA for 685724b
lib/assert.js
@@ -315,8 +315,8 @@ function getErrMessage(message, fn) {
315
errorCache.set(identifier, message);
316
317
return message;
318
- } catch (e) {
319
- // Invalidate cache to prevent trying to read this part again.
+ } catch {
+ // Invalidate cache to prevent trying to read this part again.
320
errorCache.set(identifier, undefined);
321
} finally {
322
// Reset limit.
0 commit comments