Commit 5e9fe5bf authored by Michal Čihař's avatar Michal Čihař

Fix error handling

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 4d5b8e38
...@@ -446,7 +446,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -446,7 +446,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
except ParseError: except ParseError:
raise raise
except Exception as exc: except Exception as exc:
self.handle_parse_error(exc) self.subproject.handle_parse_error(exc)
return self._store return self._store
def check_sync(self, force=False, request=None, change=None): def check_sync(self, force=False, request=None, change=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment