Added logging, removed an error.