summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index ba9b6c4..a31c459 100644
--- a/main.go
+++ b/main.go
@@ -218,9 +218,9 @@ func getResponse(url string) *http.Response {
if err != nil {
for i := 0; i < 4; i++ {
if i == 0 {
- log.Debug("getDetail: Got error connecting to firebase/wikipedia. Retry: " + strconv.Itoa(i))
+ log.Debug("getResponse: Got error connecting to firebase/wikipedia. Retry: " + strconv.Itoa(i))
} else {
- log.Warn("getDetail: Got error connecting to firebase/wikipedia. Retry: " + strconv.Itoa(i))
+ log.Warn("getResponse: Got error connecting to firebase/wikipedia. Retry: " + strconv.Itoa(i))
}
resp2, err2 := http.Get(url)
if err2 == nil {
@@ -316,7 +316,7 @@ func (app *App) updateAllDiscussions() {
} else if Story.Descendants > 10 || Story.Score > 10 {
log.Infof(`
updateAllDiscussions: There is a bug. Can't update discussion with id %d.
- NOTE: Is this is happening again, probably the url was changed from wikipedia to a different source.
+ NOTE: If this is happening again, probably the url was changed from Wikipedia to a different source.
%+v\n
`, item_id, Story)
}