From 2f5f620cb992ac31f594aaa6c2b1658a02ac6d4b Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 13 May 2015 18:51:45 -0400 Subject: [PATCH] #2312 show backtrace for failed uploads --- app/views/uploads/show.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/uploads/show.html.erb b/app/views/uploads/show.html.erb index 71f0f90bf..fc9594851 100644 --- a/app/views/uploads/show.html.erb +++ b/app/views/uploads/show.html.erb @@ -16,6 +16,13 @@

This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %>

<% else %>

An error occurred: <%= @upload.status %>

+ <% if CurrentUser.user.is_builder? %> + + <% end %> <% if @upload.is_downloadable? %> <%= form_tag(upload_path(@upload), :method => :put) do %> <% submit_tag "Retry" %>