summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pastit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pastit.py b/scripts/pastit.py
index 3527b4f..63e5ab3 100755
--- a/scripts/pastit.py
+++ b/scripts/pastit.py
@@ -42,7 +42,7 @@ def get(url):
if req.status_code == 404:
return "Paste not found"
elif not req.ok:
- return "An error occured"
+ return "An error occured (%s)" % req.status_code
return req.text