inspector: 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:
parent
a64ca7139e
commit
fcb8bf1d35
@ -15,7 +15,7 @@ function sendInspectorCommand(cb, onError) {
|
||||
} finally {
|
||||
session.disconnect();
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return onError();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user