Skip to content

Commit

Permalink
dont fatal when sending twilio message fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dreadl0ck committed Oct 3, 2020
1 parent 25c9b1b commit cab16ce
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 {
log.Fatal(err)
fmt.Println(err)
}
//fmt.Println(msg.Status)
}
Expand Down

0 comments on commit cab16ce

Please sign in to comment.