diff --git a/core/models/caves.py b/core/models/caves.py index 5ae4170..b1d9200 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -729,10 +729,11 @@ def GetCaveLookup(): return Gcavelookup +@transaction.atomic def update_dataissue(parsercode, message): try: DataIssue.objects.update_or_create(parser=parsercode, message=message) - except DataIssue.DataError: + except DataError: # bollocks, swallow this. pass except: