mirror of
https://github.com/foomo/petze.git
synced 2025-10-16 12:35:33 +00:00
update log message for failed twilio sms
This commit is contained in:
parent
cab16cebb3
commit
4373f0e324
@ -1,8 +1,8 @@
|
||||
package sms
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/kevinburke/twilio-go"
|
||||
"log"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user