Skip to content

Commit

Permalink
Merge pull request #204 from xmidt-org/denopink/patch/send-response-f…
Browse files Browse the repository at this point in the history
…or-failed-normify

patch: send response for failed Normify checks
  • Loading branch information
denopink authored Jul 31, 2024
2 parents 768d15f + 269f33e commit 04755df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pubsub/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (ps *PubSub) subscribe(route string, h wrpkit.Handler) (CancelFunc, error)
func (ps *PubSub) HandleWrp(msg wrp.Message) error {
normalized, dest, err := ps.normalize(&msg)
if err != nil {
return err
return errors.Join(err, wrpkit.ErrNotHandled)
}

// Unless the destination is this device, the message will be sent to the
Expand Down

0 comments on commit 04755df

Please sign in to comment.