Output formatted exception instead of crashing

This way we can see useful errors instead of the generic "status_command
exited" message from i3bar.