From 0b61fe939b0b46f7e94c4746651d94f0897ece42 Mon Sep 17 00:00:00 2001 From: Jack Wink <57678801+mothershipper@users.noreply.github.com> Date: Thu, 30 May 2024 15:38:42 -0700 Subject: [PATCH] fix(node): fireAndForget should be passed through The fireAndForget setting was not being passed through to the API call site. --- packages/node/src/lib/log.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node/src/lib/log.ts b/packages/node/src/lib/log.ts index 19a1961a96..841a52af72 100644 --- a/packages/node/src/lib/log.ts +++ b/packages/node/src/lib/log.ts @@ -25,7 +25,7 @@ function doSend(readmeApiKey: string, options: Options) { queue = []; // Make the log call - metricsAPICall(readmeApiKey, json).catch(e => { + metricsAPICall(readmeApiKey, json, options.fireAndForget).catch(e => { // Silently discard errors and timeouts. if (options.development) throw e; });