Page MenuHomePhabricator

D5024.id16217.diff
No OneTemporary

D5024.id16217.diff

diff --git a/services/lib/src/server-base-reactors/ServerBidiReactorBase.h b/services/lib/src/server-base-reactors/ServerBidiReactorBase.h
--- a/services/lib/src/server-base-reactors/ServerBidiReactorBase.h
+++ b/services/lib/src/server-base-reactors/ServerBidiReactorBase.h
@@ -98,7 +98,7 @@
try {
this->terminateCallback();
this->validate();
- } catch (std::runtime_error &e) {
+ } catch (std::exception &e) {
this->setStatus(ServerBidiReactorStatus(
grpc::Status(grpc::StatusCode::INTERNAL, e.what())));
}
@@ -145,7 +145,7 @@
return;
}
this->StartWrite(&this->response);
- } catch (std::runtime_error &e) {
+ } catch (std::exception &e) {
this->terminate(ServerBidiReactorStatus(
grpc::Status(grpc::StatusCode::INTERNAL, e.what())));
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 8:59 AM (18 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2520892
Default Alt Text
D5024.id16217.diff (808 B)

Event Timeline