From 86b030db939d3ecd90e266ecd01eb14fc3602935 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 29 Mar 2022 08:57:32 -0400 Subject: [PATCH] logging --- lib/utils/install-srf-locals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/install-srf-locals.js b/lib/utils/install-srf-locals.js index 7794fda4..f9123fda 100644 --- a/lib/utils/install-srf-locals.js +++ b/lib/utils/install-srf-locals.js @@ -63,7 +63,7 @@ function installSrfLocals(srf, logger) { initMS(logger, val, ms); } catch (err) { - logger.info(`failed connecting to freeswitch at ${fs.address}, will retry shortly`); + logger.info({err}, `failed connecting to freeswitch at ${fs.address}, will retry shortly`); } } // retry to connect to any that were initially offline