diff bin/effecteval @ 1535:04f2e93f04e3

effecteval log startup error Ignore-this: 6ab4a5a770c8557a2459072dde4ce17e
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 10 May 2017 07:13:27 +0000
parents ad90eb1f5493
children 5d8009daea51
line wrap: on
line diff
--- a/bin/effecteval	Wed May 10 07:00:22 2017 +0000
+++ b/bin/effecteval	Wed May 10 07:13:27 2017 +0000
@@ -289,7 +289,7 @@
         self.show = show
         self.outputWhere = outputWhere
         self.graph = SyncedGraph(networking.rdfdb.url, "effectEval")
-        self.graph.initiallySynced.addCallback(self.launch)
+        self.graph.initiallySynced.addCallback(self.launch).addErrback(log.error)
 
         self.stats = scales.collection('/',
                                        scales.PmfStat('sendLevels'),
@@ -300,6 +300,7 @@
                                        )
 
     def launch(self, *args):
+        log.info('launch')
         self.loop = makeEffectLoop(self.graph, self.stats, self.outputWhere)
         self.loop.startLoop()