Skip to content

fix: raise TranslationNotFound when MyMemory returns empty response#305

Open
Angelopgit wants to merge 1 commit intonidhaloff:masterfrom
Angelopgit:fix/mymemory-raise-translation-not-found
Open

fix: raise TranslationNotFound when MyMemory returns empty response#305
Angelopgit wants to merge 1 commit intonidhaloff:masterfrom
Angelopgit:fix/mymemory-raise-translation-not-found

Conversation

@Angelopgit
Copy link
Copy Markdown

The exception was being constructed but never raised, so an empty API response would silently fall through and crash with an AttributeError on the next line instead of surfacing the proper TranslationNotFound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant