Skip to content

Commit

Permalink
fix: do not log the error in the log informing retries have stop
Browse files Browse the repository at this point in the history
This would prevent polluting the log. The caller would be able to create
its own log with the cause if wanted.
  • Loading branch information
jgiovaresco committed Mar 26, 2024
1 parent e41446a commit d564e26
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@ public Completable initialize() {
if (err instanceof WebSocketConnectorException connectorException && connectorException.isRetryable()) {
return Flowable.timer(5000, TimeUnit.MILLISECONDS);
}
log.error("Unable to connect to Exchange Connect Endpoint, stop retrying.", err);
log.error("Unable to connect to Exchange Connect Endpoint, stop retrying.");
return Flowable.error(err);
})
);
Expand Down

0 comments on commit d564e26

Please sign in to comment.