django / channels

Developer-friendly asynchrony for Django
https://channels.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.09k stars 799 forks source link

Not able to see tracebacks on AsyncHttpConsumer #1254

Open MarioRial22 opened 5 years ago

MarioRial22 commented 5 years ago

Hello, I'm not able to see tracebacks of exceptions produced in AsyncHttpConsumer. I've tried both runserver and daphne.

Downgrading to channels 2.1.5 fixes the issue, so I guess it is a bug introduced on channels 2.1.6

This is my pip freeze output:

asgiref==2.3.2
async-timeout==2.0.1
attrs==18.2.0
autobahn==19.1.1
Automat==0.7.0
channels==2.1.6
constantly==15.1.0
daphne==2.2.4
Django==2.1.5
gunicorn==19.9.0
hyperlink==18.0.0
idna==2.8
incremental==17.5.0
pkg-resources==0.0.0
PyHamcrest==1.9.0
pytz==2018.9
six==1.12.0
Twisted==18.9.0
txaio==18.8.1
zope.interface==4.6.0

Thank you!

carltongibson commented 5 years ago

Hi @MarioRial22. Any chance you could add a minimal reproduce case so that you/we can bisect the issue to a particular change? Thanks.

MarioRial22 commented 5 years ago

Sure, Actually I found the cause of the issue, I'll make a PR fix shortly. It is related with this issue as well: https://github.com/django/channels/issues/1249