The `begin/end` wrapping here is unnecessary; ruby methods can have `rescue` clauses inline at the same indentation level.