You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/12/06 11:51:56 UTC
[3/3] git commit: Core: Fix case when backtrace for 502 exception is
not set (DTACLOUD-359)
Core: Fix case when backtrace for 502 exception is not set (DTACLOUD-359)
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/3dd7a0f2
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/3dd7a0f2
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/3dd7a0f2
Branch: refs/heads/master
Commit: 3dd7a0f2ddcd151b32a7e77cab54c60de683ed4d
Parents: 13f5477
Author: Michal Fojtik <mf...@redhat.com>
Authored: Wed Dec 5 18:10:34 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Thu Dec 6 11:51:20 2012 +0100
----------------------------------------------------------------------
server/views/errors/502.html.haml | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/3dd7a0f2/server/views/errors/502.html.haml
----------------------------------------------------------------------
diff --git a/server/views/errors/502.html.haml b/server/views/errors/502.html.haml
index 19cf090..a41402b 100644
--- a/server/views/errors/502.html.haml
+++ b/server/views/errors/502.html.haml
@@ -15,11 +15,12 @@
- else
%em No details
- %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
- %h3 Backtrace
- %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
- %li
- %pre=@error.backtrace.join("\n")
+ - if @error.backtrace
+ %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
+ %h3 Backtrace
+ %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
+ %li
+ %pre=@error.backtrace.join("\n")
%div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
%h3 Parameters