If an exception is thrown following a log.error, only the logged error message is displayed on the console, and the node terminates without logging the exception.
Inserting a sleep between the statements makes it print the exception too.
Steps to reproduce:
anywhere in the node startup logic, e.g. AbstractNode.start()
On startup, the node will exit with "My error"
Both error and the exception will be logged.