Skip to content

Commit

Permalink
Return full error string upon exception from model
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed May 22, 2024
1 parent 5e972cf commit ca57c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pb_stub.cc
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ Stub::ProcessRequests(RequestBatch* request_batch_shm_ptr)
error_string;
LOG_ERROR << err_message.c_str();
response_batch_shm_ptr->has_error = true;
error_string_shm = PbString::Create(shm_pool_, error_string);
error_string_shm = PbString::Create(shm_pool_, err_message);
response_batch_shm_ptr->error = error_string_shm->ShmHandle();
response_batch_shm_ptr->is_error_set = true;
}
Expand Down

0 comments on commit ca57c93

Please sign in to comment.