Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Set Transport.active to False early in Transport.__init__. #312
An exception in Transport.init will cause its repr to raise an AttributeError, which especially causes issues for error reporting that shows locals for the stack (e.g. Sentry or Django emails).
Moving self.active = False higher in Transport.init would fix this.