Page MenuHomePhabricator

D5026.id16455.diff
No OneTemporary

D5026.id16455.diff

diff --git a/services/lib/src/server-base-reactors/ServerWriteReactorBase.h b/services/lib/src/server-base-reactors/ServerWriteReactorBase.h
--- a/services/lib/src/server-base-reactors/ServerWriteReactorBase.h
+++ b/services/lib/src/server-base-reactors/ServerWriteReactorBase.h
@@ -64,7 +64,7 @@
try {
this->terminateCallback();
this->validate();
- } catch (std::runtime_error &e) {
+ } catch (std::exception &e) {
this->statusHolder->setStatus(
grpc::Status(grpc::StatusCode::INTERNAL, e.what()));
}
@@ -103,7 +103,7 @@
return;
}
this->StartWrite(&this->response);
- } catch (std::runtime_error &e) {
+ } catch (std::exception &e) {
LOG(ERROR) << "error: " << e.what();
this->terminate(grpc::Status(grpc::StatusCode::INTERNAL, e.what()));
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 7:27 AM (18 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2518137
Default Alt Text
D5026.id16455.diff (808 B)

Event Timeline