Node startup: missing exception details

Description

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:
Add

anywhere in the node startup logic, e.g. AbstractNode.start()

On startup, the node will exit with "My error"

With:

Both error and the exception will be logged.

Assignee

Ekaterina Volobueva

Reporter

Andrius Dagys

Epic Link

None

Priority

Medium

Engineering Teams

None

Affects versions

Ported to...

Corda 4.3
Corda Enterprise 4.3

Sprint

None

Story Points / Dev Days

4

Feature Team

Operational Experience

Severity

Medium
Configure