It follows convention of other helper functions in the same file e.g. get_node_records.

I'll catch exception on the caller side, though it's unlikely to raise an exception.