From: marios <[email protected]>

Signed-off-by: marios <[email protected]>
---
 server/views/errors/400.html.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/views/errors/400.html.haml 
b/server/views/errors/400.html.haml
index 1a135f9..aeae736 100644
--- a/server/views/errors/400.html.haml
+++ b/server/views/errors/400.html.haml
@@ -19,7 +19,7 @@
     %h3 Backtrace
     %ul{ :'data-role' => :listview , :'data-inset' => :true, 
:'data-divider-theme' => 'e'}
       %li
-        %[email protected]("\n")
+        %pre=(@error.backtrace.nil?) ? "n/a" : @error.backtrace.join("\n")
 
   %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
     %h3 Parameters
-- 
1.7.6.5

Reply via email to