Catch NotFound error in resources page