Skip to content

Commit

Permalink
Fix typo in usage reporting plugin log message (#6879)
Browse files Browse the repository at this point in the history
Noticed this typo when debugging some stats/trace related issues.
  • Loading branch information
bonnici committed Sep 8, 2022
1 parent 9ee573e commit 6b37d16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shaggy-schools-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@apollo/server': patch
---

Fixed usage reporting plugin log message
2 changes: 1 addition & 1 deletion packages/server/src/plugin/usageReporting/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export function ApolloServerPluginUsageReporting<TContext extends BaseContext>(
if (parsedBody.tracesIgnored === true) {
logger.debug(
"This graph's organization does not have access to traces; sending all " +
'subsequent operations as traces.',
'subsequent operations as stats.',
);
sendTraces = false;
}
Expand Down

0 comments on commit 6b37d16

Please sign in to comment.