Adds formatted output
Catches more exception types