mirror of https://github.com/nodejs/node.git
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>pull/24079/head
parent
a64ca7139e
commit
fcb8bf1d35
|
@ -15,7 +15,7 @@ function sendInspectorCommand(cb, onError) {
|
|||
} finally {
|
||||
session.disconnect();
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return onError();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue