Skip to content

Commit

Permalink
update log message for failed twilio sms
Browse files Browse the repository at this point in the history
  • Loading branch information
dreadl0ck committed Oct 3, 2020
1 parent cab16ce commit 4373f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sms/twilio.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package sms

import (
"fmt"
"github.com/kevinburke/twilio-go"
"log"
"strings"
"time"
)
Expand Down Expand Up @@ -64,7 +64,7 @@ func SendTwilioSMS(sms []*TwilioSMS) {
// Send a message
_, err := client.Messages.SendMessage(conf.From, s.To, s.Body, nil)
if err != nil {
fmt.Println(err)
log.Println("sending twilio sms failed:", err)
}
//fmt.Println(msg.Status)
}
Expand Down

0 comments on commit 4373f0e

Please sign in to comment.