mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
fix regression related to logging verbosity and exception handling in compile.cpp
This commit is contained in:
parent
fc898c4df1
commit
200e933923
@ -894,17 +894,16 @@ findExceptionHandler(Thread* t, void* frame)
|
|||||||
catchType = 0;
|
catchType = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Verbose and
|
if (catchType == 0 or instanceOf(t, catchType, t->exception)) {
|
||||||
(catchType == 0 or
|
if (Verbose) {
|
||||||
instanceOf(t, catchType, t->exception)))
|
fprintf(stderr, "exception handler match for %d in %s: "
|
||||||
{
|
"start: %d; end: %d; ip: %d\n",
|
||||||
fprintf(stderr, "exception handler match for %d in %s: "
|
offset,
|
||||||
"start: %d; end: %d; ip: %d\n",
|
&byteArrayBody(t, methodName(t, frameMethod(frame)), 0),
|
||||||
offset,
|
nativeExceptionHandlerStart(handler),
|
||||||
&byteArrayBody(t, methodName(t, frameMethod(frame)), 0),
|
nativeExceptionHandlerEnd(handler),
|
||||||
nativeExceptionHandlerStart(handler),
|
nativeExceptionHandlerIp(handler));
|
||||||
nativeExceptionHandlerEnd(handler),
|
}
|
||||||
nativeExceptionHandlerIp(handler));
|
|
||||||
|
|
||||||
return handler;
|
return handler;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user