mirror of
https://github.com/logos-messaging/sds-go-bindings.git
synced 2026-07-24 00:43:17 +00:00
fix: log unwrapped-message json via structured zap field
401a767 left a printf-style call on the structured *zap.Logger
(rm.logger.Debug("... %s", resStr)), which does not compile because
resStr is a string, not a zap.Field. Pass it as zap.String instead so
the CamelCase + retrieval-hint (JSON ABI) line builds again. This is the
tip that status-go pins against nim-sds release/v0.3 (v0.3.1-rc.0).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
401a7671f0
commit
a52f93d292
@ -362,7 +362,7 @@ func (rm *ReliabilityManager) UnwrapReceivedMessage(message []byte) (*UnwrappedM
|
||||
}
|
||||
rm.logger.Debug("successfully unwrapped message")
|
||||
|
||||
rm.logger.Debug("Unwrapped message JSON: %s", resStr)
|
||||
rm.logger.Debug("unwrapped message json", zap.String("json", resStr))
|
||||
var unwrappedMessage UnwrappedMessage
|
||||
err := json.Unmarshal([]byte(resStr), &unwrappedMessage)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user