| Conditions | 2 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | '''a component that gathers stats and hearbeats from other components |
||
| 10 | def when_component(channel, method, properties, body): |
||
| 11 | '''when the event happens''' |
||
| 12 | try: |
||
| 13 | print("[{0}] Received component message".format(APP.now())) |
||
| 14 | docomponent(body.decode()) |
||
| 15 | except Exception as ex: |
||
| 16 | APP.logexception(ex) |
||
| 17 | |||
| 25 |