Where in this block are exceptions thrown? Could we narrow the scope of the `try`?