mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-01-26 19:03:33 +00:00
improved log messages
This commit is contained in:
parent
f79c5c2598
commit
6bd7b66e1e
@ -159,7 +159,7 @@ func main() {
|
||||
p := cron.NewParser(cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow)
|
||||
schedule, err := p.Parse(autoReceiveSchedule)
|
||||
if err != nil {
|
||||
log.Fatal("Invalid AUTO_RECEIVE_SCHEDULE: ", err.Error())
|
||||
log.Fatal("AUTO_RECEIVE_SCHEDULE: Invalid schedule: ", err.Error())
|
||||
}
|
||||
|
||||
c := cron.New()
|
||||
@ -198,7 +198,7 @@ func main() {
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatal("Couldn't get registered numbers")
|
||||
log.Fatal("AUTO_RECEIVE_SCHEDULE: Couldn't get registered numbers")
|
||||
}
|
||||
}))
|
||||
c.Start()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user