-
Committer:
James McCoy
-
Date:
2014-06-29 23:12:22 UTC
-
Revision ID:
git-v1:3d993a0cabe41a63223e2a6c5f3e8639de643d39
callbacks: Properly handle nested command errors
Using Raise=True was only papering over the real problem in the nested
command error handling. The actual issue is that we were trying to
return an IrcMsg from NestedCommandsIrcProxy.__init__. Dropping
Raise=True and moving return to its own line is the correct fix and
resolves the test failure in testMaximumNestingDepth.
This commit reverts 7838cae3bc5f23c271c8baba0630d6969d8f1b55
Signed-off-by: James McCoy <vega.james@gmail.com>