Gestire le eccezioni in maniera più accurata, inviando anche l'eventuale soluzione al problema verificatosi, quando possibile.
(Es. cattura l'eccezione:
telepot.exception.TelegramError: ("Bad Request: can't parse entities: Can't found end tag corresponding to start tag at byte offset 10", 400, {'ok': False, 'error_code': 400, 'description': "Bad Request: can't parse entities: Can't found end tag corresponding to start tag at byte offset 10"}, quindi restituire "Errore: è necessario chiudere tutti i tag html aperti", ecc.)
Gestire le eccezioni in maniera più accurata, inviando anche l'eventuale soluzione al problema verificatosi, quando possibile.
(Es. cattura l'eccezione:
telepot.exception.TelegramError: ("Bad Request: can't parse entities: Can't found end tag corresponding to start tag at byte offset 10", 400, {'ok': False, 'error_code': 400, 'description': "Bad Request: can't parse entities: Can't found end tag corresponding to start tag at byte offset 10"}
, quindi restituire "Errore: è necessario chiudere tutti i tag html aperti", ecc.)