Commit 3f21cf8e by yinyong

Merge remote-tracking branch 'origin/master'

parents 09ab19f5 e399f4cd
...@@ -55,9 +55,10 @@ public class SkuSimpleCategoryJob implements SimpleJob { ...@@ -55,9 +55,10 @@ public class SkuSimpleCategoryJob implements SimpleJob {
} else { } else {
throw new RuntimeException("调用SKU简单分类接口返回错误"); throw new RuntimeException("调用SKU简单分类接口返回错误");
} }
} catch (IOException e) { } catch (Exception e) {
throw new RuntimeException("调用SKU简单分类接口失败" + e.getCause().getMessage(), e); throw new RuntimeException("调用SKU简单分类接口失败" + e.getCause().getMessage(), e);
} finally { } finally {
SessionUtil.closeSession();
if (response != null) { if (response != null) {
response.close(); response.close();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment