feat(dns): add leak check report log

This commit is contained in:
Quentin McGaw
2026-03-16 13:57:14 +00:00
parent 85d2917e8e
commit 5e6c11b045
3 changed files with 160 additions and 0 deletions
+7
View File
@@ -59,6 +59,13 @@ func (l *Loop) Run(ctx context.Context, done chan<- struct{}) {
l.userTrigger = false
report, err := leakCheck(ctx, l.client)
if err != nil {
l.logger.Warnf("running leak check: %s", err)
} else {
l.logger.Infof("leak check report: %s", report)
}
exitLoop := l.runWait(ctx, runError)
if exitLoop {
return