mirror of https://github.com/nodejs/node.git
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>pull/24079/head
parent
9d68e56856
commit
39a027224e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue