catch error == null and make err detection more prominent, NODE-130