aboutsummaryrefslogtreecommitdiff
path: root/src/threadinterrupt.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-11-09 11:09:16 +0100
committerWladimir J. van der Laan <[email protected]>2016-11-09 11:16:39 +0100
commite9f25ddd0063f7ea65595178d04370d27344305c (patch)
treef6cc113c1a04fba9d4a57443a0f5dee323f56a83 /src/threadinterrupt.cpp
parentMerge #8874: Multiple Selection for peer and ban tables (diff)
downloaddiscoin-e9f25ddd0063f7ea65595178d04370d27344305c.tar.xz
discoin-e9f25ddd0063f7ea65595178d04370d27344305c.zip
Avoid ugly exception in log on unknown inv type
It is unexpected behavior for `ToString` to raise an exception. It is expected to do a best-effort attempt at formatting but never fail. Catch the exception and simply print unknown inv types as hexadecimal. Fixes #9110.
Diffstat (limited to 'src/threadinterrupt.cpp')
0 files changed, 0 insertions, 0 deletions