fix string formatting errors
format exceptions as strings
Merge pull request #721 from mankyd/log-error

Fix String Formatting Errors