private static String protocolName(@Nullable SessionProtocol protocol) {
        return protocol != null ? protocol.uriText() : "<unknown>";
    }
Logs the specified exception if it is {@linkplain #isExpected(Throwable) unexpected}.
core/src/main/java/com/linecorp/armeria/common/util/Exceptions.java