LPS-47070 - Java Exceptions still trigger a callback which is resolved by the promise