diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-01-02 21:38:26 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-01-02 21:39:00 +0100 |
commit | 190a4051fde736faf99681d107f0b38dd385e90c (patch) | |
tree | 9cbae1bb6389855e26f8cd6882725df07ce1fb00 /src/bench/bench.h | |
parent | 52900a764c4213f960d2b9c95d54f64753fcfedd (diff) | |
parent | 4bdd68f301a9cee3360deafc7531c638e923226b (diff) | |
download | bitcoin-190a4051fde736faf99681d107f0b38dd385e90c.tar.xz |
Merge #17762: net: Log to net category for exceptions in ProcessMessages
4bdd68f301a9cee3360deafc7531c638e923226b Add missing typeinfo includes (Wladimir J. van der Laan)
4d88c3dcb61e7c075ed3dd442044e0eff4e3c8de net: Log to net category for exceptions in ProcessMessages (Wladimir J. van der Laan)
Pull request description:
Remove the forest of special exceptions based on string matching, and simply log a short message to the NET logging category when an exception happens during packet processing. It is not good to panick end users with verbose errors (let alone writing to stderr) when any peer can generate them.
ACKs for top commit:
MarcoFalke:
re-ACK 4bdd68f301a9cee3360deafc7531c638e923226b (only change is adding includes) 🕕
promag:
ACK 4bdd68f301a9cee3360deafc7531c638e923226b, could squash.
Tree-SHA512: a005591a3202b005c75e01dfa54249db3992e2f9eefa8b3d9d435acf66130417716ed926ce4e045179cf43788f1abc7362d999750681a9c80b318373d611c366
Diffstat (limited to 'src/bench/bench.h')
0 files changed, 0 insertions, 0 deletions