diff options
| -rwxr-xr-x | scripts/pastit.py | 2 | 
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  | 
