Authored by yyq

异常处理

@@ -204,9 +204,9 @@ exports.getOutletsSpecialData = (params, channel) => { @@ -204,9 +204,9 @@ exports.getOutletsSpecialData = (params, channel) => {
204 Object.assign(specialData, result[0]); 204 Object.assign(specialData, result[0]);
205 specialData.headerData.headType = 'outlets'; 205 specialData.headerData.headType = 'outlets';
206 206
207 - if (result[1].code !== 200) {  
208 // 活动信息获取异常 207 // 活动信息获取异常
209 - throw new Error('fail_to_get_special_info_with_ID:' + params.id); 208 + if (result[1].code !== 200) {
  209 + throw new Error('outlets special info not found-(ID:' + params.id + ')');
210 } 210 }
211 211
212 Object.assign(specialData, 212 Object.assign(specialData,