Improved error handling for better debugging of https://circleci.com/gh/andresriancho/w3af/1103