Skip to content
Snippets Groups Projects
Verified Commit a120c8b1 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: error handling

parent bae8f8ac
No related branches found
No related tags found
1 merge request!3Better Error Handling and Logging
Pipeline #10913 passed
Pipeline: caosdb-cppinttest

#10915

    This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
    ......@@ -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);
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment