mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
suppress DataError exception
This commit is contained in:
parent
c518fbc5af
commit
f26c9d1ff2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user