Indentation Error causing /nearest to break

return None out side of catch block.