增强服务配置文件启动功能,支持文件配置仍然可以修改

This commit is contained in:
2019-04-29 16:32:26 +08:00
parent a255c52cc0
commit 52f4d459a0
10 changed files with 36 additions and 30 deletions

View File

@@ -67,6 +67,9 @@ public class BaseServlet extends HttpServlet {
} catch (ArangoDBException e) {
logger.log(Level.INFO, "arangodb init!", e);
ArangoSource.init();
} catch (UnsupportedOperationException e) {
e.printStackTrace();
response.finish(JBean.by(-1, e.getMessage()));
}
}