Try/catch viewrender command errors