mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +01:00
daemon: always log error packets we create.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
5296b7f9a0
commit
c1e1299249
1 changed files with 1 additions and 0 deletions
|
@ -430,6 +430,7 @@ Pkt *pkt_err(struct peer *peer, const char *msg, ...)
|
|||
e->problem = tal_vfmt(e, msg, ap);
|
||||
va_end(ap);
|
||||
|
||||
log_unusual(peer->log, "Sending PKT_ERROR: %s", e->problem);
|
||||
return make_pkt(peer, PKT__PKT_ERROR, e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue