diff --git a/.changeset/thirty-phones-smell.md b/.changeset/thirty-phones-smell.md new file mode 100644 index 000000000..e7455cbc9 --- /dev/null +++ b/.changeset/thirty-phones-smell.md @@ -0,0 +1,5 @@ +--- +"@trigger.dev/stripe": patch +--- + +Removed error logging diff --git a/integrations/stripe/src/tasks.ts b/integrations/stripe/src/tasks.ts index 1c5cb3bdd..be4e0cddb 100644 --- a/integrations/stripe/src/tasks.ts +++ b/integrations/stripe/src/tasks.ts @@ -23,13 +23,6 @@ import { omit } from "./utils"; export const createCharge: AuthenticatedTask = { - onError: (error) => { - if (error instanceof Stripe.errors.StripeError) { - console.log("Stripe error", error); - } - - throw error; - }, run: async (params, client, task) => { const response = await client.charges.create(params, { idempotencyKey: task.idempotencyKey,