commit | 4957503d7a1d3b3e158113d789025f1de019df02 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Mon Feb 03 14:55:44 2014 -0800 |
committer | Rich Lane <rlane@bigswitch.com> | Mon Feb 03 14:55:44 2014 -0800 |
tree | fb3cb13182d96c52a772d56e6f936c29d7f43797 | |
parent | cb5574e0460988723317f1b55781bd0137289ff8 [diff] [blame] |
controller: include repr(exp_msg) in exception
diff --git a/src/python/oftest/controller.py b/src/python/oftest/controller.py index ac3fa0e..a65aed2 100644 --- a/src/python/oftest/controller.py +++ b/src/python/oftest/controller.py
@@ -602,7 +602,7 @@ elif issubclass(exp_msg, cfg_ofp.message.message): klass = exp_msg else: - raise ValueError("Unexpected exp_msg argument") + raise ValueError("Unexpected exp_msg argument %r", exp_msg) self.logger.debug("Polling for %s", klass.__name__)