mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
Условие с проверкой статуса вызывает ошибку
This commit is contained in:
parent
825d667c25
commit
ce83d5df0f
1 changed files with 0 additions and 3 deletions
|
@ -12,9 +12,6 @@ class PlausibleAnalytics:
|
|||
user_agent = request.headers.get('user-agent', 'unknown')
|
||||
user_agent_parsed = ua_parse(user_agent)
|
||||
|
||||
if 400 <= response.status_code < 500:
|
||||
return
|
||||
|
||||
event = {
|
||||
"domain": config['analytics']['plausible_domain'],
|
||||
"name": request.url.path or '404 - Not Found',
|
||||
|
|
Loading…
Add table
Reference in a new issue