|
@@ -139,7 +139,12 @@ CMD.runTask = function(data,main_info,PlatformInfo,call_back){
|
|
|
}
|
|
|
let res = await clinet.otherPost( helper.getHyCreateLinkOpt(postData.token) ,t_data)
|
|
|
if(res['code']==500){
|
|
|
- throw res['msg']
|
|
|
+ throw res
|
|
|
+ }
|
|
|
+
|
|
|
+ if(res['code']==10001){
|
|
|
+ console.log("作品不存在:",data)
|
|
|
+ throw res
|
|
|
}
|
|
|
console.log("create_hy_link:",res)
|
|
|
let response = {
|
|
@@ -159,7 +164,7 @@ CMD.runTask = function(data,main_info,PlatformInfo,call_back){
|
|
|
data.start_param = start_param
|
|
|
call_back(data)
|
|
|
}catch(e){
|
|
|
- call_back(null)
|
|
|
+ call_back(null,e)
|
|
|
console.error('There was an error!', e);
|
|
|
}
|
|
|
}
|