From b1399326b0a04800074daf4b4cc1802b0c7ef900 Mon Sep 17 00:00:00 2001 From: muzzammilshahid Date: Mon, 22 Jan 2024 16:53:05 +0500 Subject: [PATCH] change progressive calls logs to debug --- client/client.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index bd17fe18..dd6ee79e 100644 --- a/client/client.go +++ b/client/client.go @@ -1692,10 +1692,14 @@ func (c *Client) runHandleInvocation(msg *wamp.Invocation) { isProcessing = false break } else if result.Err == wamp.InternalProgressiveOmitResult { - c.log.Println("Call in progress, nothing to YIELD, skipping") + if c.debug { + c.log.Println("Call in progress, nothing to YIELD, skipping") + } break } else { - c.log.Println("Received final result") + if c.debug { + c.log.Println("Received final result") + } isProcessing = false break }