Add logging for stash/news fetching

This commit is contained in:
Christian Rocha 2020-12-03 18:11:06 -05:00
parent f680a9b96a
commit f1ede23b3c

View file

@ -557,6 +557,9 @@ func loadStash(m stashModel) tea.Cmd {
}
return stashLoadErrMsg{err}
}
if debug {
log.Println("loaded stash page", m.page)
}
return gotStashMsg(stash)
}
}
@ -577,6 +580,9 @@ func loadNews(m stashModel) tea.Cmd {
}
return newsLoadErrMsg{err}
}
if debug {
log.Println("fetched news")
}
return gotNewsMsg(news)
}
}