Skip to content

Commit

Permalink
fix(node): fireAndForget should be passed through
Browse files Browse the repository at this point in the history
The fireAndForget setting was not being passed through to the API call
site.
  • Loading branch information
mothershipper committed May 30, 2024
1 parent 7e71166 commit 17bb583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/lib/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 17bb583

Please sign in to comment.