Mercurial > code > home > repos > light9
diff bin/collector @ 1530:a5a44077c54c
docs and error msgs
Ignore-this: 5c451744c5fa08c4560e45e6a90de4bd
author | drewp@bigasterisk.com |
---|---|
date | Wed, 10 May 2017 04:03:54 +0000 |
parents | 4294ed82ee16 |
children | c1bf296b0a74 |
line wrap: on
line diff
--- a/bin/collector Wed May 10 03:30:00 2017 +0000 +++ b/bin/collector Wed May 10 04:03:54 2017 +0000 @@ -63,14 +63,17 @@ s.onPull = onPull def launch(graph, doLoadTest=False): - - # todo: drive outputs with config files - outputs = [ - EnttecDmx(L9['output/dmx0/'], '/dev/dmx0', 80), - Udmx(L9['output/udmx/'], 510), - ] + try: + # todo: drive outputs with config files + outputs = [ + #EnttecDmx(L9['output/dmx0/'], '/dev/dmx0', 80), + Udmx(L9['output/udmx/'], 510), + ] + except Exception as e: + log.error("setting up outputs: %r", e) + traceback.print_exc() + raise c = Collector(graph, outputs) - server = WebServer(c) startZmq(networking.collectorZmq.port, c)