#4 Adding try/catch block to view error