diff --git a/coolamqp/attaches/declarer.py b/coolamqp/attaches/declarer.py index 6bcaae2cae27bb20ddda05f870fcf5bd8083c28b..cd7888517d5575db0b0521ee81cae7d661c1a5bd 100644 --- a/coolamqp/attaches/declarer.py +++ b/coolamqp/attaches/declarer.py @@ -284,7 +284,7 @@ class Declarer(Channeler, Synchronized): """ if isinstance(obj, Queue): if obj.anonymous: - raise ValueError('Cannot declare anonymous queue') + raise ValueError('Cannot declare anonymous queue, use consume to have the name filled in!') if span is not None: enqueued_span = self.cluster.tracer.start_span('Enqueued', child_of=span)