in theme/plugins/asfgenid.py [0:0]
def tb_connect(pel_ob):
"""Print any exception, before Pelican chews it into nothingness."""
try:
generate_id(pel_ob)
except Exception:
print('-----', file=sys.stderr)
print('FATAL: %s' % (pel_ob.relative_source_path), file=sys.stderr)
traceback.print_exc()
# if we have errors in this module then we want to quit to avoid erasing the site
sys.exit(4)