Skip to content

Commit

Permalink
fix errorf format
Browse files Browse the repository at this point in the history
  • Loading branch information
thiperson committed Apr 21, 2022
1 parent a9cd9d8 commit ea84c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/sfr/sfr.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ func (c *Sfr) Send(message sachet.Message) error {

a, err := json.Marshal(authenticate)
if err != nil {
return fmt.Errorf("error:", err)
return fmt.Errorf("error: %v", err)
}

mU, err := json.Marshal(messageUnitaire)
if err != nil {
return fmt.Errorf("error:", err)
return fmt.Errorf("error: %v", err)
}

params.Add("authenticate", string(a))
Expand Down

0 comments on commit ea84c25

Please sign in to comment.