Describe the bug
There are lots of edge cases and instances where bot crashes due to some unexpected syntax or error.
Example : Unexpected syntax in /addmeetup
Expected behavior
The bot shouldn't crash instead it should respond with something like " Unexpected behaviour, please try again "
** Additional Context **
We are using log.Fatal / log.Fatalln when an error occurs. This causes the program to call os.exit(1) which is an undesirable behaviour.
Instead we should log.Print the errors as well as a bot response for the same.
Describe the bug
There are lots of edge cases and instances where bot crashes due to some unexpected syntax or error.
Example : Unexpected syntax in
/addmeetupExpected behavior
The bot shouldn't crash instead it should respond with something like " Unexpected behaviour, please try again "
** Additional Context **
We are using
log.Fatal/log.Fatallnwhen an error occurs. This causes the program to callos.exit(1)which is an undesirable behaviour.Instead we should
log.Printthe errors as well as a bot response for the same.