From a83ed5189d78617a9b39d30c28e00312a6351d08 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Fri, 15 Jul 2022 13:49:20 +0700 Subject: [PATCH] Added missing return statement --- src/providers/Daemon.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/Daemon.ts b/src/providers/Daemon.ts index 5b35daf..3072516 100644 --- a/src/providers/Daemon.ts +++ b/src/providers/Daemon.ts @@ -77,6 +77,7 @@ class Deamon { IPv6 = await this.getCurrentIPv6(); } catch(err) { Logger.error(`Unable to fetch ip address: ${err}`); + return; } IPv4 && Logger.info(`Current IPv4 address: ${IPv4}`);