Catch, log, and throw client errors
Merge pull request #3504 from mozilla/3374-log-errors

Catch, log, and throw client errors