Skip to content

Commit

Permalink
Fix for the following issue:
Browse files Browse the repository at this point in the history
Logger calls should be surrounded by log level guards.
  • Loading branch information
scottyw-harness committed May 29, 2024
1 parent f9ebacf commit 9dfad82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/harness/cf/client/api/InnerClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public InnerClient(@NonNull Connector connector, @NonNull final BaseConfig optio
protected void setUp(@NonNull final Connector connector, @NonNull final BaseConfig options) {
this.options = options;
log.info("Starting SDK client with configuration: {}", this.options);
if (log.isDebugEnabled()) {
log.debug("Connector: {}", connector);
}
this.connector = connector;
this.connector.setOnUnauthorized(this::onUnauthorized);

Expand Down

0 comments on commit 9dfad82

Please sign in to comment.