Mercurial > pumpbridge
diff src/sync.coffee @ 19:6b3f38af3fa4
use child_process for backend
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Fri, 13 Jun 2014 18:13:36 +0200 |
parents | a52b5b244e51 |
children | 08d9679da0f7 |
line wrap: on
line diff
--- a/src/sync.coffee Fri Jun 13 16:37:20 2014 +0200 +++ b/src/sync.coffee Fri Jun 13 18:13:36 2014 +0200 @@ -34,7 +34,7 @@ Facebook.sync(user) ), (err) -> catch err - console.log 'Error!' + console.log 'Error!' + err # Twitter try @@ -44,7 +44,7 @@ Twitter.sync(user) ), (err) -> catch err - console.log 'Error!' + console.log 'Error!' + err # Google @@ -55,7 +55,7 @@ Google.sync(user) ), (err) -> catch err - console.log 'Error!' + console.log 'Error!' + err #### return @@ -132,6 +132,5 @@ return - exports.postParser = postParser exports.sync = sync