Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-08-25 14:53:49 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2016-09-01 15:00:45 +0300
commit77295de4076835d6080a9868fe7cb0c08522e141 (patch)
treef4098224fd1ba66592429508caf2bc0231536686 /app/controllers/projects/builds_controller.rb
parent56011f9f697b7ca42f786735a2249014dd3ef18d (diff)
Change 404 to 410 error when raw trace is unavailable
Diffstat (limited to 'app/controllers/projects/builds_controller.rb')
-rw-r--r--app/controllers/projects/builds_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/builds_controller.rb b/app/controllers/projects/builds_controller.rb
index 4127337cbf2..79d774195f8 100644
--- a/app/controllers/projects/builds_controller.rb
+++ b/app/controllers/projects/builds_controller.rb
@@ -81,7 +81,7 @@ class Projects::BuildsController < Projects::ApplicationController
if @build.has_trace_file?
send_file @build.path_to_trace, type: 'text/plain; charset=utf-8', disposition: 'inline'
else
- render_404
+ render_410
end
end