Skip to content

Commit

Permalink
Make event queue non-const
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa committed Dec 11, 2023
1 parent eb58f0f commit 899ebc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/src/sentry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare const SENTRY_DSN: string;

/* Returns a Sentry transport for the Sentry proxy Worker. */
export const makeSentry10Transport = (options: BaseTransportOptions) => {
const eventQueue: [string, RequestInit][] = [];
let eventQueue: [string, RequestInit][] = [];

const transportSentry10 = async (request: TransportRequest) => {
/* Adds helpful properties to the request body before we send it to our
Expand Down

0 comments on commit 899ebc0

Please sign in to comment.