Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 committed May 23, 2024
1 parent 5cfd6bd commit ed83b42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flex/bin/bulk_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ void signal_handler(int signal) {
<< ",Clearing directory: " << work_dir << ", exiting...";
// remove all files in work_dir
std::filesystem::remove_all(work_dir);
exit(0);
exit(signal);
} else {
LOG(ERROR) << "Received unexpected signal " << signal << ", exiting...";
exit(1);
exit(signal);
}
}

Expand Down
2 changes: 2 additions & 0 deletions flex/engines/http_server/handler/http_proxy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ gs::Status HttpProxy::init(
seastar::future<gs::Result<HttpForwardingResponses>> HttpProxy::forward_request(
const std::string& path, const std::string& method, const std::string& body,
const seastar_http_headers_t& headers) {
LOG(INFO) << "Forwarding request to " << path << ", method: " << method
<< ", body: " << body << ", headers: " << headers.size();
if (!initialized_) {
return seastar::make_ready_future<gs::Result<HttpForwardingResponses>>(
HttpForwardingResponses{});
Expand Down

0 comments on commit ed83b42

Please sign in to comment.