mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
superficial code cleanup
This commit is contained in:
parent
dbbcf90e6c
commit
96c3b2b6a7
@ -2606,10 +2606,9 @@ void
|
||||
printTrace(Thread* t, object exception)
|
||||
{
|
||||
if (exception == 0) {
|
||||
exception = makeNullPointerException(t, 0,
|
||||
makeTrace(t, t->m->processor->frameStart(t)),
|
||||
0);
|
||||
exception = makeNullPointerException(t, 0, makeTrace(t), 0);
|
||||
}
|
||||
|
||||
for (object e = exception; e; e = throwableCauseUnsafe(t, e)) {
|
||||
if (e != exception) {
|
||||
fprintf(stderr, "caused by: ");
|
||||
|
Loading…
Reference in New Issue
Block a user