Make traceback pastes not expire automatically
Since we have the UUID now, we can delete them at any time if needed, they don't have to expire automatically, which can be annoying when trying to look up an old error (although it's also in errors.log).
This commit is contained in:
parent
3f806620e4
commit
be2d33dbe6
@ -119,7 +119,6 @@ class print_traceback:
|
||||
with _local.handler:
|
||||
req = urllib.request.Request(api_url, urllib.parse.urlencode({
|
||||
"c": "\n".join(variables), # contents
|
||||
"s": 86400 # expiry (seconds)
|
||||
}).encode("utf-8", "replace"))
|
||||
|
||||
req.add_header("Accept", "application/json")
|
||||
|
Loading…
x
Reference in New Issue
Block a user