Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When polib raises an exception, re-raise it as a ParseError
so that: 1. The error message the user gets helps him/her resolve the problem 2. We don't show a 500 error to the user 3. We don't get a report in sentry Related: https://sentry.int.transifex.com/developers/transifex/issues/25094/
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters