Fixed substitution arg order to match format format string in logExcepti...

...ons decorator. Also fixed it to log any exception, not just those that are based on Exception.