ff4d: improve exception logging for debugging

I needed this to do some troubleshooting because it doesn't work on my machine.