diff --git a/packages/medusa-fulfillment-webshipper/src/subscribers/webshipper.js b/packages/medusa-fulfillment-webshipper/src/subscribers/webshipper.js index a57823478b..71fe0ff07b 100644 --- a/packages/medusa-fulfillment-webshipper/src/subscribers/webshipper.js +++ b/packages/medusa-fulfillment-webshipper/src/subscribers/webshipper.js @@ -1,14 +1,12 @@ class WebshipperSubscriber { - constructor({ eventBusService, logger, webshipperFulfillmentService }) { + constructor({ eventBusService, webshipperFulfillmentService }) { this.webshipperService_ = webshipperFulfillmentService eventBusService.subscribe("webshipper.shipment", this.handleShipment) } handleShipment = async ({ headers, body }) => { - return this.webshipperService_.handleWebhook(headers, body).catch((err) => { - logger.warn(err) - }) + return this.webshipperService_.handleWebhook(headers, body) } }