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__)