You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/05/20 07:33:35 UTC

[GitHub] [servicecomb-java-chassis] Fang57 commented on issue #1730: 请求接口失败,框架自行打印异常日志,能否关闭

Fang57 commented on issue #1730:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1730#issuecomment-631293405


     protected boolean shouldPrintErrorLog(Throwable throwable) {
       if (!(throwable instanceof InvocationTargetException)) {
         return true;
       }
       Throwable targetException = ((InvocationTargetException) throwable).getTargetException();
       return !(targetException instanceof InvocationException);
     }
   这里没有可配置的地方啊,请问要怎么配置


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org