[dashpay/dash] Don’t crash when formatting in logging throws exceptions (#2231)

This is something that has annoyed me forever. Always when someone (mainly me as it feels…) forgets to add a parameter in a LogPrintf, the node CRASHES instead of giving a useful hint. IMHO, the tools that are meant to support us while debugging should not cause crashes, never… ;)
You can view, comment on, or merge this pull request online at:

https://github.com/dashpay/dash/pull/2231

— Commit Summary —

* Don’t crash when formatting in logging throws exceptions

— File Changes —

M src/util.h (17)

— Patch Links —

https://github.com/dashpay/dash/pull/2231.patch
https://github.com/dashpay/dash/pull/2231.diff

Добавить комментарий