Skip to content

Commit ca57c93

Browse files
committed
Return full error string upon exception from model
1 parent 5e972cf commit ca57c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pb_stub.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ Stub::ProcessRequests(RequestBatch* request_batch_shm_ptr)
737737
error_string;
738738
LOG_ERROR << err_message.c_str();
739739
response_batch_shm_ptr->has_error = true;
740-
error_string_shm = PbString::Create(shm_pool_, error_string);
740+
error_string_shm = PbString::Create(shm_pool_, err_message);
741741
response_batch_shm_ptr->error = error_string_shm->ShmHandle();
742742
response_batch_shm_ptr->is_error_set = true;
743743
}

0 commit comments

Comments
 (0)