Skip to content
Snippets Groups Projects

Better Error Handling and Logging

Merged Timm Fitschen requested to merge dev into main
All threads resolved!
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -140,11 +140,16 @@ auto Transaction::ExecuteAsynchronously() noexcept -> void {
grpc_status.error_message();
this->status = TransactionStatus::RPC_ERROR(error_details);
}
return;
} else {
this->status = TransactionStatus::SUCCESS();
}
auto *entity = response.release_entity();
if (!entity->errors().empty()) {
this->status =
TransactionStatus::TRANSACTION_ERROR("The request returned with errors.");
}
this->result_set = std::make_unique<UniqueResult>(entity);
}
Loading