diff options
-rw-r--r-- | runtime/transaction.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/transaction.cc b/runtime/transaction.cc index 5b8d23b..9b205c3 100644 --- a/runtime/transaction.cc +++ b/runtime/transaction.cc @@ -76,11 +76,7 @@ void Transaction::ThrowAbortError(Thread* self, bool rethrow) { << " while transaction is not aborted"; } std::string abort_msg(GetAbortMessage()); - // Temporary workaround for b/20019689. - if (self->IsExceptionPending()) { - self->ClearException(); - } - self->ThrowNewException(Transaction::kAbortExceptionSignature, abort_msg.c_str()); + self->ThrowNewWrappedException(Transaction::kAbortExceptionSignature, abort_msg.c_str()); } bool Transaction::IsAborted() { |