Skip to content

Commit

Permalink
feat: Ensure Telegram API Error Exception details are not being masked
Browse files Browse the repository at this point in the history
  • Loading branch information
twaslows committed Nov 4, 2024
1 parent aee0b6a commit 239a778
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private List<Update> getUpdatesFromTelegram() throws TelegramApiRequestException
throw new TelegramApiErrorResponseException(response.code(), response.message());
}
}
} catch (Exception e) {
} catch (IOException e) {
throw new TelegramApiErrorResponseException(e);
}

Expand Down

0 comments on commit 239a778

Please sign in to comment.