handle generic exception and display appropriate views