pattern match on the potentially resolved try