Fixing bug with Redmine failure handler and adding more verbose output