본문으로 건너뛰기
이 페이지는 아직 사용자의 언어로 번역되지 않았거나 번역이 기술 검토를 기다리고 있습니다. 아래에는 영어 원문이 표시됩니다. 영어 페이지 열기

E1601. guard() called after close()

Severity: ERROR. Programmer error.

What happened​

Your code called Client.guard() on a Client that already had close() called on it. The SDK refuses to continue auditing because the audit sinks have been drained and shut down.

How to fix​

Restructure your code so close() runs exactly once, at the end of the agent's lifecycle. The most common cause is putting close() inside a finally that fires per-iteration instead of once.

See also​