Skip to content

Commit

Permalink
Merge branch 'hotfix/2023-09-18_plausible_show_url_rate_limit'
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Sep 18, 2023
2 parents 7069f5c + 55799fd commit 73f9c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portality/lib/plausible.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def send_event(goal: str, on_completed=None, **props_kwargs):
def _send():
resp = requests.post(plausible_api_url, json=payload, headers=headers)
if resp.status_code >= 300:
logger.warning(f'send plausible event api fail. [{resp.status_code}][{resp.text}]')
logger.warning(f'Send plausible event API fail: [{resp.url}][{resp.status_code}][{resp.text}]')
if on_completed:
on_completed(resp)

Expand Down

0 comments on commit 73f9c35

Please sign in to comment.