This is an automated email from the ASF dual-hosted git repository.
hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new ab8ed373d9 WaitForHelper.java Add Exception Logging (#5023)
ab8ed373d9 is described below
commit ab8ed373d9228cfc2d7691db167e9a0bc48f3b8b
Author: haolinkong <[email protected]>
AuthorDate: Wed Aug 16 20:38:05 2023 +0800
WaitForHelper.java Add Exception Logging (#5023)
---
.../apache/shenyu/e2e/engine/scenario/function/WaitForHelper.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/shenyu-e2e/shenyu-e2e-engine/src/main/java/org/apache/shenyu/e2e/engine/scenario/function/WaitForHelper.java
b/shenyu-e2e/shenyu-e2e-engine/src/main/java/org/apache/shenyu/e2e/engine/scenario/function/WaitForHelper.java
index 9b9ba49569..deb07fb87e 100644
---
a/shenyu-e2e/shenyu-e2e-engine/src/main/java/org/apache/shenyu/e2e/engine/scenario/function/WaitForHelper.java
+++
b/shenyu-e2e/shenyu-e2e-engine/src/main/java/org/apache/shenyu/e2e/engine/scenario/function/WaitForHelper.java
@@ -94,7 +94,8 @@ public class WaitForHelper {
try {
TimeUnit.MILLISECONDS.sleep(timeInRetry.toMillis());
- } catch (InterruptedException ignore) {
+ } catch (InterruptedException ex) {
+ log.error(ex.getMessage(), ex);
}
}
});
@@ -130,7 +131,8 @@ public class WaitForHelper {
try {
TimeUnit.MILLISECONDS.sleep(timeInRetry.toMillis());
- } catch (InterruptedException ignore) {
+ } catch (InterruptedException ex) {
+ log.error(ex.getMessage(), ex);
break;
}
}