mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
assert: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>
This commit is contained in:
1 parent
a5462baf57
commit
dedf0e5cde
1 file changed
+2
-2
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user