This is an automated email from the ASF dual-hosted git repository. zhanglei pushed a commit to branch SCB-1321 in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
commit 35887b82ce83aa70d2ad61e2be1665ed92484e63 Author: Lei Zhang <[email protected]> AuthorDate: Thu Jul 11 14:35:01 2019 +0800 SCB-1321 Ignore onDisconnected error --- .../org/apache/servicecomb/pack/alpha/benchmark/Application.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/alpha/alpha-benchmark/src/main/java/org/apache/servicecomb/pack/alpha/benchmark/Application.java b/alpha/alpha-benchmark/src/main/java/org/apache/servicecomb/pack/alpha/benchmark/Application.java index 0a74910..4b1d7c5 100644 --- a/alpha/alpha-benchmark/src/main/java/org/apache/servicecomb/pack/alpha/benchmark/Application.java +++ b/alpha/alpha-benchmark/src/main/java/org/apache/servicecomb/pack/alpha/benchmark/Application.java @@ -66,7 +66,11 @@ public class Application implements CommandLineRunner { printHelp(); } } finally { - sender.onDisconnected(); + try{ + sender.onDisconnected(); + }catch (Throwable e){ + // + } System.exit(0); }
