Skip to content

Commit 3debb3d

Browse files
author
amlmtl
committed
refactor: improve logging
1 parent 0bf4748 commit 3debb3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/esp/client/espwsclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func New(wsConnectionUrl url.URL) *EspWsClient {
9393
var message messagedto.MessageDTO
9494
err := json.Unmarshal(messageBytes, &message)
9595
if err != nil {
96-
log.DefaultLogger.Error(fmt.Sprintf("Cannot unmarshal messageString: %v", message))
96+
log.DefaultLogger.Error(fmt.Sprintf("Cannot unmarshal messageString: %s", messageString))
9797
return
9898
}
9999

0 commit comments

Comments
 (0)