Skip to content

Commit fffcaa3

Browse files
committed
Add failure to RespondNexusTaskFailedRequest
1 parent c33e6f7 commit fffcaa3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,8 +1829,10 @@ message RespondNexusTaskFailedRequest {
18291829
string identity = 2;
18301830
// A unique identifier for this task.
18311831
bytes task_token = 3;
1832-
// The error the handler failed with.
1833-
temporal.api.nexus.v1.HandlerError error = 4;
1832+
// Deprecated. Use the failure field instead.
1833+
temporal.api.nexus.v1.HandlerError error = 4 [deprecated = true];
1834+
// The error the handler failed with. Must contain a NexusHandlerFailureInfo object.
1835+
temporal.api.failure.v1.Failure failure = 5;
18341836
}
18351837

18361838
message RespondNexusTaskFailedResponse {

0 commit comments

Comments
 (0)