fix logger.debug in try_next_sentinel