summaryrefslogtreecommitdiffstats
path: root/src/retrace
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-03 10:18:54 +0100
committerKarel Klic <kklic@redhat.com>2011-03-03 10:18:54 +0100
commit63945d813c8fe237771854c18a878ef79816901a (patch)
treea75628d5b6f5269254cf1be292f8452c87bfbba9 /src/retrace
parent9d0b19379129928c65192f004ad6bd00aea4fd74 (diff)
downloadabrt-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.wsgi2
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])