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:
cjihrig authored and Myles Borins committed 2018-12-03 13:33:01 -05:00
1 parent a5462baf57
commit dedf0e5cde
1 file changed
+2 -2
+2 -2
View File
@@ -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.