Skip to content

Commit

Permalink
Use log level notice to log reason for offline mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adombeck committed Feb 11, 2025
1 parent 51c8535 commit 3485b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (b *Broker) NewSession(username, lang, mode string) (sessionID, encryptionK
// Construct an OIDC provider via OIDC discovery.
s.oidcServer, err = b.connectToOIDCServer(context.Background())
if err != nil {
log.Warningf(context.Background(), "Could not connect to the provider: %v. Starting session in offline mode.", err)
log.Noticef(context.Background(), "Could not connect to the provider: %v. Starting session in offline mode.", err)
s.isOffline = true
}

Expand Down

0 comments on commit 3485b6e

Please sign in to comment.