This is a specific rescue for catching RecordNotFound exceptions. "rescue nil" will catch anything.

Anyway, this is not relevant to this PR. I've just changed the indentation for this method, it's not new code.