mirror of
https://github.com/django/daphne.git
synced 2024-11-28 10:43:44 +03:00
Remove unused variable
This commit is contained in:
parent
28c2a535d1
commit
9310094970
|
@ -145,7 +145,7 @@ class WebRequest(http.Request):
|
|||
except self.factory.channel_layer.ChannelFull:
|
||||
# Channel is too full; reject request with 503
|
||||
self.basic_error(503, b"Service Unavailable", "Request queue full.")
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
logger.error(traceback.format_exc())
|
||||
self.basic_error(500, b"Internal Server Error", "HTTP processing error")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user