aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.coffee')
-rw-r--r--src/app.coffee3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.coffee b/src/app.coffee
index ffb8ec46..361a9a56 100644
--- a/src/app.coffee
+++ b/src/app.coffee
@@ -49,6 +49,9 @@ fetchRates = ->
r.on('data', (chunk) ->
stream.write(chunk)
)
+ r.on('error', (error) ->
+ console.log(error)
+ )
)
setTimeout(fetchRates, 120000)