Skip to content

Commit f4cb4e3

Browse files
committed
fix(decorator): Remove throw error statement in Catch decorator
1 parent bf34d4a commit f4cb4e3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/decorators/Catch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export function Catch(customResponse?: ErrorResponse) {
2929
if (ctx && typeof ctx.reply === 'function') {
3030
await ctx.reply(errorResponse.message);
3131
}
32-
throw error;
3332
}
3433
};
3534

0 commit comments

Comments
 (0)