diff --git a/tui/channel_errors.go b/tui/channel_errors.go index 01159d0..1f6b449 100644 --- a/tui/channel_errors.go +++ b/tui/channel_errors.go @@ -1,6 +1,10 @@ package tui -import "git.qowevisa.me/Qowevisa/gotell/errors" +import ( + "log" + + "git.qowevisa.me/Qowevisa/gotell/errors" +) func (t *TUI) launchErrorsChannel() error { if t.errorsChannel == nil { @@ -9,6 +13,7 @@ func (t *TUI) launchErrorsChannel() error { go func() { for err := range t.errorsChannel { if err != nil { + log.Printf("ERROR: %#v\n", err) t.createNotification(err.Error(), CONST_ERROR_N_TITLE) } }