summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-03-22 02:24:26 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2022-03-22 02:24:26 +0000
commit8fd4f818b53d5e5b2fb20379aa2020ac3e152bae (patch)
tree9e002d04ab8bf30ead7e9fce5030ca036f2c71cc /parsers/survex.py
parentf1b206ad34ab06772d648ced3ae0995538e26dd6 (diff)
downloadtroggle-8fd4f818b53d5e5b2fb20379aa2020ac3e152bae.tar.gz
troggle-8fd4f818b53d5e5b2fb20379aa2020ac3e152bae.tar.bz2
troggle-8fd4f818b53d5e5b2fb20379aa2020ac3e152bae.zip
better err text for mysterious error
Diffstat (limited to 'parsers/survex.py')
-rw-r--r--parsers/survex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index 1f93a4e..7ad9790 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -678,11 +678,11 @@ class LoadingSurvex():
for i in self.ignoreprefix:
if headpath.startswith(i):
message = f" - {headpath} starts with <ignoreprefix> (while creating '{includelabel}' sfile & sdirectory)"
- print("\n"+message)
+ #print("\n"+message)
#print("\n"+message,file=sys.stderr)
return
- message = f" ! Error: '{headpath}' not a cave or in the ignore list of surface surveys. (while creating '{includelabel}' in db)"
- # getting this triggered for gpx/2018 but not for gpx/2017 ?!
+ message = f" ! Error: '{headpath}' FAILURE (while creating '{includelabel}' in db - not a cave or in the ignore list of surface surveys. )"
+ # getting this triggered for gpx/2018 (cavern error) but not for gpx/2017 (no content).
print("\n"+message)
print("\n"+message,file=sys.stderr)
DataIssue.objects.create(parser='survex', message=message)