Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from ministryofjustice/catch-all
Browse files Browse the repository at this point in the history
Catch all
  • Loading branch information
ushkarev committed Nov 17, 2016
2 parents ec327b5 + c6341ea commit 684be2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion form_error_reporting.py
Expand Up @@ -41,7 +41,11 @@ def is_valid(self):
"""
is_valid = super(GAErrorReportingMixin, self).is_valid()
if not is_valid:
self.report_errors_to_ga(self.errors)
try:
self.report_errors_to_ga(self.errors)
except:
# no one cares
pass
return is_valid

def get_ga_single_endpoint(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -15,7 +15,7 @@

setup(
name='django-form-error-reporting',
version='0.3',
version='0.4',
author='Ministry of Justice Digital Services',
url='https://github.com/ministryofjustice/django-form-error-reporting',
py_modules=['form_error_reporting'],
Expand Down

0 comments on commit 684be2e

Please sign in to comment.