Publishing to non-existing channels

11 views
Skip to first unread message

Willi Richert

unread,
Sep 19, 2011, 4:53:54 AM9/19/11
to hoo...@googlegroups.com
Hi,

In the most recent version of mcarter's github version you will get

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/web.py", line 29, in __call__
    return handler(form, start_response)
  File "/usr/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/web.py", line 50, in render_publish
    self.api.publish(channel_name, payload, originator, send_hook)
  File "/usr/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/internal.py", line 25, in publish
    raise ExpectedException("Channel %s doesn't exist" % (channel_name,))
ExpectedException: Channel /non_existing_channel doesn't exist

whenever a client posts to a channel that does not exist. Does any of the forks address this issue? An option would be nice where you could specify to ignore all those publish incidents withing hookbox.

Thanks,
wr
Reply all
Reply to author
Forward
0 new messages