Adding debugging for Jenkins exception