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