Commit 621038e9 by zhangkb

修改状态

parent 4af26c30
...@@ -44,7 +44,8 @@ public class IndCatalogCtrl { ...@@ -44,7 +44,8 @@ public class IndCatalogCtrl {
try { try {
indCatalog = indCatalogService.saveOrUpdate(indCatalog); indCatalog = indCatalogService.saveOrUpdate(indCatalog);
} catch (Exception e) { } catch (Exception e) {
response.sendError(500, e.getMessage()); response.sendError(500);
throw new Exception(e.getMessage());
} }
LogManager.logInfo(Constants.LOG_INDICATOR_BASE_INDI_API,message,indCatalog.getCatalogName()); LogManager.logInfo(Constants.LOG_INDICATOR_BASE_INDI_API,message,indCatalog.getCatalogName());
return indCatalog.getId(); return indCatalog.getId();
......
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