diff options
author | Karel Klic <kklic@redhat.com> | 2011-03-03 10:18:54 +0100 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2011-03-03 10:18:54 +0100 |
commit | 63945d813c8fe237771854c18a878ef79816901a (patch) | |
tree | a75628d5b6f5269254cf1be292f8452c87bfbba9 /src/retrace | |
parent | 9d0b19379129928c65192f004ad6bd00aea4fd74 (diff) | |
download | abrt-63945d813c8fe237771854c18a878ef79816901a.tar.gz abrt-63945d813c8fe237771854c18a878ef79816901a.tar.xz abrt-63945d813c8fe237771854c18a878ef79816901a.zip |
create.wsgi: tell user that a file is missing in the archive when responding with 403
Diffstat (limited to 'src/retrace')
-rw-r--r-- | src/retrace/create.wsgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/retrace/create.wsgi b/src/retrace/create.wsgi index 1c560d45..027bd1a9 100644 --- a/src/retrace/create.wsgi +++ b/src/retrace/create.wsgi @@ -89,7 +89,7 @@ def application(environ, start_response): if not required_file in files: os.chdir("/") Popen(["rm", "-rf", taskdir]) - return response(start_response, "403 Forbidden") + return response(start_response, "403 Forbidden", "Required file \"{0}\" is missing".format(required_file)) Popen(["/usr/sbin/abrt-retrace-worker", "%d" % taskid]) |