Browse Source

daemon: always log error packets we create.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 9 years ago
parent
commit
c1e1299249
  1. 1
      daemon/packets.c

1
daemon/packets.c

@ -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…
Cancel
Save