Skip to content

Commit

Permalink
Update FlyerMiddleware.ts (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnie4k committed Oct 15, 2023
1 parent 926eff8 commit 5df82ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/middlewares/FlyerMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const FlyerUploadErrorInterceptor: MiddlewareFn<Context> = async ({ args, contex
// If null, move on
return await next();
} catch (err) {
console.log(`Error uploading a flyer: ${err}`);
throw new Error(err as string);
}
};
Expand Down

0 comments on commit 5df82ca

Please sign in to comment.