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:
nyuszika7h 2016-11-16 14:05:18 +01:00
parent 3f806620e4
commit be2d33dbe6

View File

@ -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")