summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index d6d52b1..27a5ab6 100644
--- a/main.go
+++ b/main.go
@@ -27,8 +27,9 @@ func earthPornUpdater(ch chan bool) {
for _ = range ch {
newporn, err := GetEarthPorn()
if err != nil {
- log.Printf("Failed getting fap material: %s", err)
+ log.Print(err)
go trylater(ch)
+ continue
}
porn = newporn
@@ -42,6 +43,7 @@ func weatherUpdater(ch chan bool) {
if err != nil {
log.Printf("Failed getting latest weather data: %s", err)
go trylater(ch)
+ continue
}
weather = newW