Skip to content

Commit

Permalink
Merge branch 'improvement/#43/suppress_console_log_output' of github.…
Browse files Browse the repository at this point in the history
…com:isaacgr/jaysonic into improvement/#43/suppress_console_log_output
  • Loading branch information
isaacgr committed Oct 4, 2021
2 parents 6fb3854 + 9976193 commit fc1f74c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/client/protocol/base.js
Expand Up @@ -120,7 +120,7 @@ class JsonRpcClientProtocol {
this.factory.remainingRetries -= 1;
logging
.getLogger()
.info(
.error(
`Failed to connect. Address [${this.server.host}:${this.server.port}]. Retrying. ${this.factory.remainingRetries} attempts left.`
);
} else if (this.factory.remainingRetries === 0) {
Expand All @@ -129,7 +129,7 @@ class JsonRpcClientProtocol {
} else {
logging
.getLogger()
.info(
.error(
`Failed to connect. Address [${this.server.host}:${this.server.port}]. Retrying.`
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/client/protocol/ws.js
Expand Up @@ -49,7 +49,7 @@ class WsClientProtocol extends JsonRpcClientProtocol {
// we dont want to retry if the client purposefully closed the connection
logging
.getLogger()
.log(
.info(
`Client closed connection. Code [${event.code}]. Reason [${event.reason}].`
);
} else {
Expand Down

0 comments on commit fc1f74c

Please sign in to comment.