summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-core/src/python/gnuradio/gr/basic_flow_graph.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/basic_flow_graph.py b/gnuradio-core/src/python/gnuradio/gr/basic_flow_graph.py
index 1837e93a7..01c96f0d1 100644
--- a/gnuradio-core/src/python/gnuradio/gr/basic_flow_graph.py
+++ b/gnuradio-core/src/python/gnuradio/gr/basic_flow_graph.py
@@ -239,7 +239,10 @@ class basic_flow_graph (object):
src_size = src_sig.sizeof_stream_item (src_endpoint.port)
dst_size = dst_sig.sizeof_stream_item (dst_endpoint.port)
if src_size != dst_size:
- raise ValueError, 'source and destination data sizes are different'
+ raise ValueError, (
+' '.join(('source and destination data sizes are different:',
+src_endpoint.block.name(),
+dst_endpoint.block.name())))
def _check_contiguity (self, m, sig, used_ports, dir):
used_ports.sort ()