More verbose logging of errors