You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2022/12/03 05:43:41 UTC

[incubator-eventmesh] branch master updated: add log e (#2420)

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

jonyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new e592f2db6 add log e (#2420)
e592f2db6 is described below

commit e592f2db61097c0230308985872b972e1072d783
Author: weihubeats <we...@163.com>
AuthorDate: Sat Dec 3 13:43:36 2022 +0800

    add log e (#2420)
---
 .../org/apache/eventmesh/trace/zipkin/config/ZipkinConfiguration.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eventmesh-trace-plugin/eventmesh-trace-zipkin/src/main/java/org/apache/eventmesh/trace/zipkin/config/ZipkinConfiguration.java b/eventmesh-trace-plugin/eventmesh-trace-zipkin/src/main/java/org/apache/eventmesh/trace/zipkin/config/ZipkinConfiguration.java
index fd462c8ac..f9142ccec 100644
--- a/eventmesh-trace-plugin/eventmesh-trace-zipkin/src/main/java/org/apache/eventmesh/trace/zipkin/config/ZipkinConfiguration.java
+++ b/eventmesh-trace-plugin/eventmesh-trace-zipkin/src/main/java/org/apache/eventmesh/trace/zipkin/config/ZipkinConfiguration.java
@@ -82,7 +82,7 @@ public class ZipkinConfiguration {
                     properties.load(new BufferedReader(new InputStreamReader(inputStream)));
                 }
             } catch (IOException e) {
-                throw new RuntimeException("Load zipkin.properties file from classpath error");
+                throw new RuntimeException("Load zipkin.properties file from classpath error", e);
             }
         }
         // get from config home
@@ -90,7 +90,7 @@ public class ZipkinConfiguration {
             String configPath = Constants.EVENTMESH_CONF_HOME + File.separator + CONFIG_FILE;
             PropertiesUtils.loadPropertiesWhenFileExist(properties, configPath);
         } catch (IOException e) {
-            throw new IllegalArgumentException("Cannot load zipkin.properties file from conf");
+            throw new IllegalArgumentException("Cannot load zipkin.properties file from conf", e);
         }
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org