You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by po...@apache.org on 2019/04/21 21:07:14 UTC
[incubator-tamaya] branch master updated: TAMAYA-277: Remove
logging as exception is rethrown
This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya.git
The following commit(s) were added to refs/heads/master by this push:
new 0e55d17 TAMAYA-277: Remove logging as exception is rethrown
0e55d17 is described below
commit 0e55d1701d7dbb5ee0d85828e374e319b5ac0a17
Author: Hugo Hirsch <gi...@hugo-hirsch.de>
AuthorDate: Sun Apr 21 23:05:19 2019 +0200
TAMAYA-277: Remove logging as exception is rethrown
---
.../src/main/java/org/apache/tamaya/core/internal/OSGIServiceLoader.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/code/core/src/main/java/org/apache/tamaya/core/internal/OSGIServiceLoader.java b/code/core/src/main/java/org/apache/tamaya/core/internal/OSGIServiceLoader.java
index 48331c2..0efe5b0 100644
--- a/code/core/src/main/java/org/apache/tamaya/core/internal/OSGIServiceLoader.java
+++ b/code/core/src/main/java/org/apache/tamaya/core/internal/OSGIServiceLoader.java
@@ -248,7 +248,6 @@ public class OSGIServiceLoader implements BundleListener {
LOG.fine("Creating Service...:" + serviceClass.getName());
return serviceClass.getConstructor().newInstance();
} catch (Exception ex) {
- LOG.log(Level.SEVERE, "Error while creating service.", ex);
throw new IllegalStateException("Failed to createObject service: " + serviceClass.getName(), ex);
}
}