update log message for failed twilio sms

This commit is contained in:
Philipp Mieden 2020-10-03 15:35:18 +02:00
parent cab16cebb3
commit 4373f0e324

View File

@ -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)
}