Oh thanks! I didn't realize you can only inline rescue from StandardError and can't specify a class. Since I don't want to catch StandardError here I added begin/end block. Any ideas how to improve it? Any other comments?