You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2011/08/10 01:13:14 UTC
svn commit: r1155966 -
/incubator/deltacloud/trunk/server/views/errors/403.html.haml
Author: lutter
Date: Tue Aug 9 23:13:14 2011
New Revision: 1155966
URL: http://svn.apache.org/viewvc?rev=1155966&view=rev
Log:
* views/errors/403.html.haml: don't barf on errors with nil backtrace
Modified:
incubator/deltacloud/trunk/server/views/errors/403.html.haml
Modified: incubator/deltacloud/trunk/server/views/errors/403.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/errors/403.html.haml?rev=1155966&r1=1155965&r2=1155966&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/errors/403.html.haml (original)
+++ incubator/deltacloud/trunk/server/views/errors/403.html.haml Tue Aug 9 23:13:14 2011
@@ -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