Page MenuHomePhabricator

D3612.id11008.diff
No OneTemporary

D3612.id11008.diff

diff --git a/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h b/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
--- a/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
+++ b/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
@@ -44,6 +44,13 @@
this->state = State::LOG_CHUNK;
return nullptr;
};
+ case State::LOG_CHUNK: {
+ if (!request.has_logdata()) {
+ throw std::runtime_error("log data expected but not received");
+ }
+ std::string chunk = request.logdata();
+ std::cout << "log data received " << chunk << std::endl;
+ };
}
throw std::runtime_error("send log - invalid state");
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 3:37 PM (17 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576593
Default Alt Text
D3612.id11008.diff (781 B)

Event Timeline