Skip to content

Commit

Permalink
Kinesis source logging wrong error message (closes #209)
Browse files Browse the repository at this point in the history
  • Loading branch information
TiganeteaRobert committed Aug 29, 2022
1 parent 35cc351 commit d1aa932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/source/kinesis/kinesis_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (ks *kinesisSource) Read(sf *sourceiface.SourceFunctions) error {
case <-time.After(10 * time.Second):
// Append errors and crash
multierror.Append(kinesisPullErr, errors.Errorf("wg.Wait() took too long, forcing app close."))
ks.log.WithFields(log.Fields{"error": err}).Fatal(err)
ks.log.WithFields(log.Fields{"error": kinesisPullErr}).Fatal(kinesisPullErr)
}

// Return kinesisPullErr if we have one
Expand Down

0 comments on commit d1aa932

Please sign in to comment.