Skip to content

Commit

Permalink
Fix replay workflow error message
Browse files Browse the repository at this point in the history
We don't need to specify `resp` twice...
  • Loading branch information
tdeebswihart committed Oct 30, 2023
1 parent 734eb22 commit 77a077b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/internal_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ func (aw *WorkflowReplayer) replayWorkflowHistory(logger log.Logger, service wor
}
}
}
return fmt.Errorf("replay workflow doesn't return the same result as the last event, resp: %[1]T{%[1]v}, last: %[2]T{%[2]v}", resp, resp, last)
return fmt.Errorf("replay workflow doesn't return the same result as the last event, resp: %[1]T{%[1]v}, last: %[2]T{%[2]v}", resp, last)
}

// HistoryFromJSON deserializes history from a reader of JSON bytes. This does
Expand Down

0 comments on commit 77a077b

Please sign in to comment.