Update View_Alter.php

Entity template: Catch exception of wrong configuration.