Skip to content
Snippets Groups Projects
Commit d06742e6 authored by Simon Will's avatar Simon Will
Browse files

Fix NameError bug in dev.py

parent d260b437
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,11 @@ def dev(reference_verses, number=10, randomize=False) -> List[Verse]:
try:
analysis = scanner.scan_verses([unidecode(ref.text)])[0]
except:
except Exception:
errors += 1
print('ERROR at verse {}'.format(ref.text))
traceback.print_exc()
continue
all_analyses.append(analysis)
correct_schema = ref_reading.get_schema()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment