in src/main/java/com/aliyun/tea/logging/ClientLogger.java [94:102]
public <T extends Throwable> T logThrowableAsError(T throwable) {
Objects.requireNonNull(throwable, "'throwable' cannot be null.");
if (!logger.isErrorEnabled()) {
return throwable;
}
performLogging(LogLevel.ERROR, true, throwable.getMessage(), throwable);
return throwable;
}