From 1c80385c520bf14539c100f73c0abac10317163a Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sat, 2 Feb 2013 12:44:38 +0000 Subject: [PATCH] Made error message slightly more informative. --- pypiserver/_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypiserver/_app.py b/pypiserver/_app.py index 5837c5b..7d957c3 100644 --- a/pypiserver/_app.py +++ b/pypiserver/_app.py @@ -151,7 +151,7 @@ def update(): return "" if action != "file_upload": - raise HTTPError(400, output="actions other than file_upload/submit, not supported") + raise HTTPError(400, output="action not supported: %s" % action) try: content = request.files['content']