Created
January 18, 2013 15:04
-
-
Save darylteo/4565144 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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