Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
schehata committed Jan 12, 2023
1 parent e2e107c commit bbcdaa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ export class Logger {
// sendBeacon fails if message size is greater than 64kb, so
// we fall back to fetch.
if (!navigator.sendBeacon(url, body)) {
sendFallback()
sendFallback();
}
} else {
sendFallback()
sendFallback();
}
} catch (e) {
console.error(`Failed to send logs to Axiom: ${e}`);
Expand Down

0 comments on commit bbcdaa7

Please sign in to comment.