diff --git a/src/discovery/Discovery.ts b/src/discovery/Discovery.ts index 7d32add22..a382f7419 100644 --- a/src/discovery/Discovery.ts +++ b/src/discovery/Discovery.ts @@ -309,6 +309,7 @@ class Discovery { } } await Promise.all(taskPromises); + this.logger.info(`Stopped all tasks for ${this.constructor.name}`); this.taskManager.deregisterHandler(this.discoverVertexHandlerId); this.taskManager.deregisterHandler(this.checkRediscoveryHandlerId); this.logger.info(`Stopped ${this.constructor.name}`); diff --git a/src/nodes/NodeConnection.ts b/src/nodes/NodeConnection.ts index 090eaa974..9ef313fbb 100644 --- a/src/nodes/NodeConnection.ts +++ b/src/nodes/NodeConnection.ts @@ -308,7 +308,7 @@ class NodeConnection { logger: logger.getChild(RPCClient.name), }); if (validatedNodeId == null) { - never(`connection validated but no valid NodeId was returned`); + never('connection validated but no valid NodeId was returned'); } // Obtaining remote node ID from certificate chain. It should always exist in the chain if validated. // This may de different from the NodeId we validated it as if it renewed at some point.