added logging to GET / POST requests when an error occurs
Merge pull request #10 from redhotlabs/request_logging

added logging to GET / POST requests when an error occurs