Skip to content

Instantly share code, notes, and snippets.

@darylteo
Created January 18, 2013 15:04
Show Gist options
  • Save darylteo/4565144 to your computer and use it in GitHub Desktop.
Save darylteo/4565144 to your computer and use it in GitHub Desktop.
def initEventBus():
loggingAddress = config['loggingAddress']
def handler(msg):
print(msg)
EventBus.register_handler(loggingAddress,handler)
# Exception in Python verticle
# Traceback (most recent call last):
# File "main.py", line 33, in <module>
# File "main.py", line 14, in initEventBus
# File "__pyclasspath__/core/event_bus.py", line 112, in register_handler
# RuntimeError: handler is required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment