From be2d33dbe645ec211efd497160cace46087d3cab Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Wed, 16 Nov 2016 14:05:18 +0100 Subject: [PATCH] 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). --- src/decorators.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/decorators.py b/src/decorators.py index b84909b..ac446e2 100644 --- a/src/decorators.py +++ b/src/decorators.py @@ -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")