handle errors in gscholar search.