Add more debugging for errors in exception mapping responses