Display error messages for 4xx errors
Use syntax that works for python 2.6
Merge pull request #3 from mortardata/ddaniels_better_error_messages

[#61415560] Display error messages for 4xx errors