Log authorization error
Merge pull request #6 from joprice/logError

Log authorization error