From 6e4ae69cb75d58d19b9544ec746622f95b0478ff Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 29 Mar 2022 09:48:18 -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 231785f7..d1561d4f 100644 --- a/lib/utils/install-srf-locals.js +++ b/lib/utils/install-srf-locals.js @@ -79,7 +79,7 @@ function installSrfLocals(srf, logger) { const ms = await mrf.connect(val.opts); initMS(logger, val, ms); } catch (err) { - logger.info(`failed connecting to freeswitch at ${val.opts.address}, will retry shortly`); + logger.info({err}, `failed connecting to freeswitch at ${val.opts.address}, will retry shortly`); } } }