mirror of
https://github.com/corda/corda.git
synced 2025-01-27 22:59:54 +00:00
check for exceptions in invoke()
This commit is contained in:
parent
b8de552797
commit
f72f95d7ca
@ -2651,6 +2651,10 @@ invoke(Thread* t, object method)
|
||||
}
|
||||
}
|
||||
|
||||
if (UNLIKELY(t->exception)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
switch (returnCode(t, method)) {
|
||||
case ByteField:
|
||||
return makeByte(t, static_cast<int8_t>(intValue(t, result)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user