[fix] fix uncaught error when a view does not return `rows`.