Skip to content

Commit

Permalink
add more info to pipeline transmitter error (#10537)
Browse files Browse the repository at this point in the history
* add more info to pipeline transmitter error

* update notation
  • Loading branch information
infiloop2 authored Sep 7, 2023
1 parent f6586c0 commit dcf265d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/services/ocrcommon/transmitter_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (t *pipelineTransmitter) CreateEthTransaction(ctx context.Context, toAddres
}

if run.State != pipeline.RunStatusCompleted {
return fmt.Errorf("unexpected pipeline run state: %s", run.State)
return fmt.Errorf("unexpected pipeline run state: %s with fatal errors %w", run.State, run.FatalErrors.ToError())
}

return nil
Expand Down

0 comments on commit dcf265d

Please sign in to comment.