diff --git a/core/models/caves.py b/core/models/caves.py index 84ce88e..7220ee2 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -732,6 +732,9 @@ def GetCaveLookup(): def update_dataissue(parsercode, message): try: DataIssue.objects.update_or_create(parser=parsercode, message=message) + except DataIssue.DataError: + # bollocks, swallow this. + pass except: # Complete bollocks, but MariaDB barfs when it shouldn't : Django 3.2 issues = DataIssue.objects.filter(parser=parsercode, message=message)