diff --git a/services/lib/src/server-base-reactors/ServerReadReactorBase.h b/services/lib/src/server-base-reactors/ServerReadReactorBase.h --- a/services/lib/src/server-base-reactors/ServerReadReactorBase.h +++ b/services/lib/src/server-base-reactors/ServerReadReactorBase.h @@ -72,7 +72,7 @@ this->terminate(*status); return; } - } catch (std::runtime_error &e) { + } catch (std::exception &e) { this->terminate(grpc::Status(grpc::StatusCode::INTERNAL, e.what())); return; } @@ -86,7 +86,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())); }