// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
-import { AsyncResource } from 'async_hooks';
+import { AsyncResource } from 'node:async_hooks';
import { type ChargingStation, ChargingStationUtils } from './internal';
import { BaseError } from '../exception';
) => Promise<void>,
this,
connectorId
- ).catch(() => {
- /* This is intentional */
- });
+ ).catch(Constants.EMPTY_FUNCTION);
} else if (this.connectorsStatus.get(connectorId)?.start === true) {
logger.warn(`${this.logPrefix(connectorId)} is already started on connector`);
}