mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 22:57:14 +00:00
suppress DataError exception
This commit is contained in:
@@ -732,6 +732,9 @@ def GetCaveLookup():
|
|||||||
def update_dataissue(parsercode, message):
|
def update_dataissue(parsercode, message):
|
||||||
try:
|
try:
|
||||||
DataIssue.objects.update_or_create(parser=parsercode, message=message)
|
DataIssue.objects.update_or_create(parser=parsercode, message=message)
|
||||||
|
except DataIssue.DataError:
|
||||||
|
# bollocks, swallow this.
|
||||||
|
pass
|
||||||
except:
|
except:
|
||||||
# Complete bollocks, but MariaDB barfs when it shouldn't : Django 3.2
|
# Complete bollocks, but MariaDB barfs when it shouldn't : Django 3.2
|
||||||
issues = DataIssue.objects.filter(parser=parsercode, message=message)
|
issues = DataIssue.objects.filter(parser=parsercode, message=message)
|
||||||
|
|||||||
Reference in New Issue
Block a user