Change API to return error on 500 http status.
Change API to return error on 500 http status.

- The Telegram API does not return well-formed JSON when there is an 
Internal Server Error. This results in incomprehensible errors.
Ronmi/telebot,tucnak/telebot,ejamesc/telebot