Skip to content

Commit

Permalink
add IP address and country to error data
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Jul 2, 2024
1 parent a335b76 commit 5750573
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions error.spt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ user_agent = request.headers.get(b'User-Agent')
}}Error location: {{ error_location }}{{ '\n'
}}User: {{ user }}{{ '\n'
}}Locale: {{ locale }}{{ '\n'
}}IP address: {{ request.source }} ({{ request.source_country }}){{ '\n'
}}Website version: {{ website.version }}</pre>
% endif
% endif
Expand Down

0 comments on commit 5750573

Please sign in to comment.