Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealAgentK committed Oct 22, 2024
1 parent 7f2b1b5 commit 1330c87
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/raygun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,17 +601,17 @@ class Raygun {
transport
.send({
message,
...(transport instanceof RaygunBatchTransport
...(transport instanceof RaygunBatchTransport
? {}
: {
http: httpOptions
}),
http: httpOptions,
}),
})
.then((response) => {
if (!(transport instanceof RaygunBatchTransport)) {
debug(
`[raygun.ts] Sent message from offline transport: ${response?.statusCode} ${response?.statusMessage}`,
);
debug(
`[raygun.ts] Sent message from offline transport: ${response?.statusCode} ${response?.statusMessage}`,
);
}
})
.catch((error) => {
Expand Down

0 comments on commit 1330c87

Please sign in to comment.