You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2018/03/14 21:10:52 UTC

[kylin] branch master updated: minor, refine exception handling.

This is an automated email from the ASF dual-hosted git repository.

billyliu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new cf6d76d  minor, refine exception handling.
cf6d76d is described below

commit cf6d76d2dd5c96d3979481fe4d7ca69bbb626b30
Author: Jiatao Tao <24...@qq.com>
AuthorDate: Wed Mar 14 11:01:44 2018 +0800

    minor, refine exception handling.
---
 .../src/main/java/org/apache/kylin/rest/service/AdminService.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server-base/src/main/java/org/apache/kylin/rest/service/AdminService.java b/server-base/src/main/java/org/apache/kylin/rest/service/AdminService.java
index 70afefd..f7881f1 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/service/AdminService.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/service/AdminService.java
@@ -93,7 +93,7 @@ public class AdminService extends BasicService {
         try {
             job = new StorageCleanupJob();
         } catch (IOException e) {
-            logger.error("can not init StorageCleanupJob", e);
+            throw new RuntimeException("Can not init StorageCleanupJob", e);
         }
         String[] args = new String[] { "-delete", "true" };
         job.execute(args);

-- 
To stop receiving notification emails like this one, please contact
billyliu@apache.org.