Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot crashes while saving the notes if no markdown syntax links are provided #33

Open
daemon1024 opened this issue Sep 22, 2020 · 0 comments
Labels
bug Something isn't working telegram bot

Comments

@daemon1024
Copy link
Member

Describe the bug
When /save <Title> <Content> is used if the content doesnt have any link in markdown format i.e [link title](link) the bot crashes due to index out of range

Expected behavior

The bot should avoid parsing markdown links if the matches are zero

Additional context

Logs : https://del.dog/asadingapp

@daemon1024 daemon1024 added the bug Something isn't working label Sep 22, 2020
@daemon1024 daemon1024 changed the title Bot crashes while savinng the notes if no markdown syntax links are provided Bot crashes while saving the notes if no markdown syntax links are provided Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working telegram bot
Projects
None yet
Development

No branches or pull requests

1 participant