We still want to capture a span if `messages` is not set.
We still want to capture a span if
messagesis not set.