ErythroGuild / irene

<Erythro>'s server admin bot.
Mozilla Public License 2.0
0 stars 0 forks source link

Catch DeepL parsing exceptions #364

Open Ernest314 opened 1 year ago

Ernest314 commented 1 year ago

DeepL.QuotaExceededException is the only one that we'll handle.

Ernest314 commented 1 year ago

There should be a way for the translation to indicate a failed state for this.

(Also remember to change the ImpossibleArgExceptions thrown by TranslateText() to said failed state.)