Skip to content

Commit

Permalink
chore: fix flush async function (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrytothemoon authored Jan 19, 2023
1 parent d8da858 commit f712374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/telemetry/src/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class Telemetry {
}

async flush() {
Promise.all(this.queue).catch(() => null);
await Promise.all(this.queue).catch(() => null);
}

private _notify() {
Expand Down

0 comments on commit f712374

Please sign in to comment.