It’s fine, although if your exception handling logic is that complex, you might consider breaking it out into its own function.
It’s fine, although if your exception handling logic is that complex, you might consider breaking it out into its own function.