Skip to content

Commit

Permalink
Debug print exception
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed May 13, 2015
1 parent caf77c1 commit 717b3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/trans/machine/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def translate(self, language, text, unit, user):
self.request_url,
self.request_params,
)
raise
traceback.print_exc()
raise MachineTranslationError('{}: {}'.format(
exc.__class__.__name__,
str(exc)
Expand Down

0 comments on commit 717b3d6

Please sign in to comment.