Pass the response to the error handler utility
Merge pull request #224 from LocalData/error-handler-fix

Pass the response to the error handler utility