liubao68 commented on a change in pull request #2644:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/2644#discussion_r755786660
##########
File path:
handlers/handler-bizkeeper/src/main/java/org/apache/servicecomb/bizkeeper/BizkeeperCommand.java
##########
@@ -65,7 +67,12 @@ protected String getCacheKey() {
f.onNext(FallbackPolicyManager.getFallbackResponse(type, cause,
invocation));
f.onCompleted();
} catch (Exception e) {
- LOG.warn("fallback failed due to:" + e.getMessage());
+ if
(DynamicPropertyFactory.getInstance().getBooleanProperty(Const.PRINT_SENSITIVE_ERROR_MESSAGE,
+ false).get()) {
+ LOG.warn("fallback failed due to:" + e);
Review comment:
LOG.warn("fallback failed due to:" , e);
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]