mirror of
https://github.com/pypiserver/pypiserver
synced 2025-02-22 19:19:37 +01:00
Made error message slightly more informative.
This commit is contained in:
parent
623c0dc736
commit
1c80385c52
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user