kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billy...@apache.org
Subject [kylin] branch master updated: minor, refine exception handling.
Date Wed, 14 Mar 2018 21:10:52 GMT
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 <245915794@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.

Mime
View raw message