#23567: fix: add senderE164 and pushName to WhatsApp inbound log line
channel: whatsapp-web
size: XS
## Summary
Adds `senderE164` and `senderName` (from `msg.pushName`) to the WhatsApp inbound logger output. Both variables were already computed in scope but not included in the log object.
## Changes
- Added `senderE164` field to inbound log (line 307)
- Added `senderName` field to inbound log (line 308)
This is a logging-only change with no impact on control flow or routing logic.
Closes #23558
Made with [Cursor](https://cursor.com)
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Adds `senderE164` and `senderName` fields to WhatsApp inbound message logger output. Both variables were already computed and used in the message object but were missing from the log statement.
- Enhanced logging visibility for debugging and monitoring
- No logic or control flow changes
- Follows existing logging patterns
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with no risk
- This is a logging-only change that adds two already-computed variables to an info log statement. No control flow, business logic, or data handling is affected. The variables are used elsewhere in the same function, confirming they are valid and in scope.
- No files require special attention
<sub>Last reviewed commit: cd32e57</sub>
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#23579: feat(whatsapp): add sender attribution to inbound message logs
by svan058 · 2026-02-22
84.0%
#21953: feat(whatsapp): sender prefix on BodyForAgent + contactNames config
by mactsk · 2026-02-20
75.7%
#9606: fix: pass fileName to WhatsApp document messages
by AytuncYildizli · 2026-02-05
75.2%
#23288: feat(whatsapp): group command gating via commands.allowFrom + sende...
by rodrigoscoelho · 2026-02-22
74.5%
#8052: fix(whatsapp): strip leading whitespace from outbound messages
by FelixFoster · 2026-02-03
74.3%
#7458: fix: pass filename through to WhatsApp document sends (#7446)
by gavinbmoore · 2026-02-02
74.1%
#16785: fix(whatsapp): preserve document filenames in outbound Baileys mode
by SahilSahu731 · 2026-02-15
72.7%
#15650: fix(whatsapp): pass fileName to document sends instead of hardcodin...
by whoknowsmann · 2026-02-13
72.5%
#21881: fix(whatsapp): pass user-provided fileName through document send pipe…
by saakshigupta2002 · 2026-02-20
72.2%
#19303: Fix WhatsApp internal error leakage + cron.run timeout defaults
by koala73 · 2026-02-17
72.0%