Skip to content

Commit

Permalink
hack
Browse files Browse the repository at this point in the history
  • Loading branch information
devadathanmb committed Aug 12, 2024
1 parent b06319f commit 757df4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/handlers/searchInlineQueryHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ async function searchInlineQueryHandler(
},
},
];
await ctx.answerInlineQuery(errorResult);
try {
await ctx.answerInlineQuery(errorResult);
} catch (error) {
console.log(error)
}
}
}
}
Expand Down

0 comments on commit 757df4c

Please sign in to comment.