Skip to content

Commit

Permalink
Fix raw message (#8)
Browse files Browse the repository at this point in the history
* updated README, releases

* updated logging

* Added "-stopAfter" and "-raw" arguments

* fixed raw

* refactor

* fix for raw messages
  • Loading branch information
andboson authored Sep 23, 2022
1 parent 426f1f0 commit dd36613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/dump_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (p *SQSDumper) processMessage(_ context.Context, msg types.Message) error {
}


if p.rawMessage {
if p.rawMessage || eventMessage.Message == nil {
fmt.Println(*msg.Body)
return nil
}
Expand Down

0 comments on commit dd36613

Please sign in to comment.