The following changes were made by the replace_file_content tool to: /root/aadharbot/index.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission.
[diff_block_start]
@@ -3732,7 +3732,8 @@
if (session.otpLoaderId) {
ctx.telegram.deleteMessage(userId, session.otpLoaderId).catch(() => { });
}
- ctx.reply(`❌ Verification failed. Please check the OTP and try again.`, { parse_mode: 'HTML' });
+ const failMsg = (data && data.message) ? sanitizeError(data.message) : "Verification failed. Please check the OTP and try again.";
+ ctx.reply(`❌ ${failMsg}`, { parse_mode: 'HTML' });
session.step = 'FINISHED';
}
} catch (error) {
[diff_block_end]
Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.