change exception catch scope in baidupcs persist