From 79bfc43ab87f8a0225180383cc6cbde769b4659f Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Sun, 2 Jun 2024 21:45:12 +0200 Subject: [PATCH] Update websocket.go --- cli/agent/bitwarden/websocket.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/agent/bitwarden/websocket.go b/cli/agent/bitwarden/websocket.go index 551e287..f151c69 100644 --- a/cli/agent/bitwarden/websocket.go +++ b/cli/agent/bitwarden/websocket.go @@ -255,12 +255,11 @@ func parseMessageTypeFromMessagePack(messagePack []byte) (int8, string, bool) { return 0, "", false } if len(value) < 5 { - websocketLog.Warn("Invalid message received, length too short") return 0, "", false } value, success := value[4].([]interface{}) if len(value) < 1 || !success { - websocketLog.Warn("Invalid message received, length too short") + websocketLog.Warn("Invalid message received, value length less than 1") return 0, "", false } value1, success := value[0].(map[string]interface{})