Why not move this out of the `try` block, since it's needed in the `catch` part?