Skip to content

Duplicated warn log in class DefaultMQProducerImpl is unnecessary. #3983

@XiaoyiPeng

Description

@XiaoyiPeng

BUG REPORT

  1. Please describe the issue you observed:

} catch (InterruptedException e) {
endTimestamp = System.currentTimeMillis();
this.updateFaultItem(mq.getBrokerName(), endTimestamp - beginTimestampPrev, false);
log.warn(String.format("sendKernelImpl exception, throw exception, InvokeID: %s, RT: %sms, Broker: %s", invokeID, endTimestamp - beginTimestampPrev, mq), e);
log.warn(msg.toString());
log.warn("sendKernelImpl exception", e);
log.warn(msg.toString());
throw e;

As show above, line#634, line#635 is is repeated with line#631, line#632.

  1. Please tell us about your environment:

    OS: Mac OS catalina
    branch: develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions