mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
main.go: give a more descriptive error message when initializing telegram.
This commit is contained in:
parent
72e1be8944
commit
953113b456
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -173,7 +173,7 @@ func main() {
|
|||
// Init telegram
|
||||
err = telegram.Init(conf.Name, conf.Telegram.Id, conf.Telegram.Channel)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
log.Println("Failed to initialize telegram", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue