Hi.
Sadly I'm not sure how to exactly reproduce the error, but we somehow get UnboundLocalError: cannot access local variable 'channel_name' where it is not associated with a value raised from here.
Looking at the code above it, it seems the code fails here, meaning the channel_name variable is not initialized yet.
This seems to hide the true error which is a bit unfortunate.
If I see it correctly we could just move channel_name = uuid4().hex one line up and then should be fine?
Thanks for having a look.
Hi.
Sadly I'm not sure how to exactly reproduce the error, but we somehow get
UnboundLocalError: cannot access local variable 'channel_name' where it is not associated with a valueraised from here.Looking at the code above it, it seems the code fails here, meaning the
channel_namevariable is not initialized yet.This seems to hide the true error which is a bit unfortunate.
If I see it correctly we could just move
channel_name = uuid4().hexone line up and then should be fine?Thanks for having a look.