diff src/syncALONE.coffee @ 27:f27ddfa42e94

try/catch; From/To/-ESN changes; google probs
author Mathias Gebbe <mgebbe@intevation.de>
date Sat, 28 Jun 2014 13:08:40 +0200
parents b90e6df48d2d
children 3e3fa35e3ce2
line wrap: on
line diff
--- a/src/syncALONE.coffee	Tue Jun 24 08:32:51 2014 +0200
+++ b/src/syncALONE.coffee	Sat Jun 28 13:08:40 2014 +0200
@@ -33,7 +33,7 @@
         Facebook.sync(user)
     ), (err) ->
   catch err
-    console.log 'Error!' + err
+    console.log 'Facebook Error!' + err
 
   # Twitter
   try
@@ -44,7 +44,7 @@
         Twitter.syncFromESN(user)
     ), (err) ->
   catch err
-    console.log 'Error!' + err
+    console.log 'Twitter Error!' + err
 
   # Google
   try
@@ -54,7 +54,7 @@
         Google.sync(user)
     ), (err) ->
   catch err
-    console.log 'Error!' + err
+    console.log 'Google Error!' + err
   ####
 
   return
@@ -73,7 +73,6 @@
   ], (err, result) ->
     setInterval syncFromESN, interval
     syncFromESN()
-
   return
 
 sync()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)