Better error output when an exception occurs. Flush output so supervisord catches it more frequently.
Merged.