We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47ce796 commit 3048b58Copy full SHA for 3048b58
1 file changed
src/decorators/ErrorHandlingDecorator.ts
@@ -20,6 +20,7 @@ export function Catch(customResponse?: ErrorResponse) {
20
if (ctx && typeof ctx.reply === 'function') {
21
await ctx.reply(errorResponse.message);
22
}
23
+ throw error;
24
25
};
26
0 commit comments