sql/src/main/java/org/apache/druid/sql/avatica/DruidMeta.java
/**
   * Logs any throwable at the error level with the throwables message.
   *
   * @param error the throwable to be logged
   * @param <T>   any type that extends throwable
   * @return the original Throwable
   */
Logs any throwable at the error level with the throwables message.
@param error the throwable to be logged
@param    any type that extends throwable
@return the original Throwable
Logs any throwable at the error level with the throwables message . @param error the throwable to be logged @param any type that extends throwable @return the original Throwable
public static <T extends Throwable> T logFailure(T error)
  {
    logFailure(error, error.getMessage());
    return error;
  }
public static < T extends Throwable > T logFailure ( T error ) { logFailure ( error , error . getMessage ( ) ) ; return error ; }
Logs any throwable at the error level with the throwables message.
Logs any throwable at the error level with the throwables message .