ff5d.py: add detailed exception logging