Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3280031
D5024.id16217.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
808 B
Referenced Files
None
Subscribers
None
D5024.id16217.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5024: [services] Rust Integration - Catch std::exception in base bidi reactor
Attached
Detach File
Event Timeline
Log In to Comment