mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 15:22:16 +00:00
Payment channels: Take out unnecessary {} from log messages.
This commit is contained in:
parent
9bd52196ed
commit
273acbdccd
@ -322,19 +322,19 @@ public class PaymentChannelServer {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} catch (VerificationException e) {
|
} catch (VerificationException e) {
|
||||||
log.error("Caught verification exception handling message from client {}", e);
|
log.error("Caught verification exception handling message from client", e);
|
||||||
errorBuilder = Protos.Error.newBuilder()
|
errorBuilder = Protos.Error.newBuilder()
|
||||||
.setCode(Protos.Error.ErrorCode.BAD_TRANSACTION)
|
.setCode(Protos.Error.ErrorCode.BAD_TRANSACTION)
|
||||||
.setExplanation(e.getMessage());
|
.setExplanation(e.getMessage());
|
||||||
closeReason = CloseReason.REMOTE_SENT_INVALID_MESSAGE;
|
closeReason = CloseReason.REMOTE_SENT_INVALID_MESSAGE;
|
||||||
} catch (ValueOutOfRangeException e) {
|
} catch (ValueOutOfRangeException e) {
|
||||||
log.error("Caught value out of range exception handling message from client {}", e);
|
log.error("Caught value out of range exception handling message from client", e);
|
||||||
errorBuilder = Protos.Error.newBuilder()
|
errorBuilder = Protos.Error.newBuilder()
|
||||||
.setCode(Protos.Error.ErrorCode.BAD_TRANSACTION)
|
.setCode(Protos.Error.ErrorCode.BAD_TRANSACTION)
|
||||||
.setExplanation(e.getMessage());
|
.setExplanation(e.getMessage());
|
||||||
closeReason = CloseReason.REMOTE_SENT_INVALID_MESSAGE;
|
closeReason = CloseReason.REMOTE_SENT_INVALID_MESSAGE;
|
||||||
} catch (IllegalStateException e) {
|
} catch (IllegalStateException e) {
|
||||||
log.error("Caught illegal state exception handling message from client {}", e);
|
log.error("Caught illegal state exception handling message from client", e);
|
||||||
errorBuilder = Protos.Error.newBuilder()
|
errorBuilder = Protos.Error.newBuilder()
|
||||||
.setCode(Protos.Error.ErrorCode.SYNTAX_ERROR);
|
.setCode(Protos.Error.ErrorCode.SYNTAX_ERROR);
|
||||||
closeReason = CloseReason.REMOTE_SENT_INVALID_MESSAGE;
|
closeReason = CloseReason.REMOTE_SENT_INVALID_MESSAGE;
|
||||||
|
Loading…
Reference in New Issue
Block a user