Skip to content

Commit

Permalink
catch all types of exceptions in ipc_writer::write()
Browse files Browse the repository at this point in the history
  • Loading branch information
t-horikawa committed Nov 5, 2024
1 parent bac69bc commit d66f27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tateyama/endpoint/ipc/ipc_response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ tateyama::status ipc_writer::write(char const* data, std::size_t length) {
try {
resultset_wire_->write(data, length);
return tateyama::status::ok;
} catch (std::runtime_error &ex) {
} catch (std::exception &ex) {
LOG_LP(ERROR) << ex.what();
}
return tateyama::status::unknown;
Expand Down

0 comments on commit d66f27c

Please sign in to comment.