Should fix rpc tests that fail due to an unclean stderr.
Untested as I'm not seeing these warnings. @promag mind seeing if this fixes your problem?
utACK 0231ef6c6d4f45edffda4ac3bce2048f9c8a8c00
According to the below the default is to log message to stderr, do we want to keep logging the lower-level messages? http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html
Edit: here's the current default behavior https://github.com/libevent/libevent/blob/e83443ec67d45447296c2ce320620a07c88e1d32/log.c#L223
Maybe send them to the debuglogfile?
No, bitcoin-cli should definitely not write to any debug log file.
Tested ACK 0231ef6 - it fixes my problem. @theuni how could I test the throw added?
Before:
./src/bitcoin-cli -regtest help
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
== Blockchain ==
getbestblockhash
...
After
./src/bitcoin-cli -regtest help
== Blockchain ==
getbestblockhash
...