Skip to content

Commit

Permalink
Fallback to non-TLS trigger warning instead of info logging
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver authored Feb 23, 2024
1 parent b055291 commit 01db059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/relaychat/relaychat.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ conn:
goto conn
case strings.HasPrefix(err.Error(), "tls:"):
secure = false
logger.Info("Serving IRC server with TLS failed, fallback to non-TLS")
logger.Warn("Serving IRC server with TLS failed, fallback to non-TLS")
goto conn

Check warning on line 111 in service/relaychat/relaychat.go

View check run for this annotation

Codecov / codecov/patch

service/relaychat/relaychat.go#L102-L111

Added lines #L102 - L111 were not covered by tests
}
logger.Error("failed to run, error: %v", err)
Expand Down

0 comments on commit 01db059

Please sign in to comment.