We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35348ca commit 1e4b651Copy full SHA for 1e4b651
include/ydb-cpp-sdk/client/types/status/status.h
@@ -55,7 +55,6 @@ class TYdbErrorException : public TYdbException {
55
TYdbErrorException(TStatus status)
56
: Status_(std::move(status))
57
{
58
- *this << status;
59
}
60
61
friend IOutputStream& operator<<(IOutputStream& out, const TYdbErrorException& e) {
src/client/types/status/status.cpp
@@ -104,6 +104,7 @@ bool TStreamPartStatus::EOS() const {
104
namespace NStatusHelpers {
105
106
void ThrowOnError(TStatus status, std::function<void(TStatus)> onSuccess) {
107
+ std::cerr << "THROW ON ERROR" << std::endl;
108
if (!status.IsSuccess()) {
109
throw TYdbErrorException(status) << status;
110
} else {
0 commit comments