Better logging to avoid res null case.