ref: refs/heads/master
commit f29c23dee5492e1eb671697b735d1aca9951e1cb
Author: Duncan Mac-Vicar P
Date: Thu Jul 16 14:36:03 2009 +0200
check if backtrace exists
---
webclient/app/views/shared/exception_trap.html.erb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/webclient/app/views/shared/exception_trap.html.erb b/webclient/app/views/shared/exception_trap.html.erb
index a895093..be71515 100644
--- a/webclient/app/views/shared/exception_trap.html.erb
+++ b/webclient/app/views/shared/exception_trap.html.erb
@@ -18,7 +18,7 @@ $(document).ready(function() {
<a href="#" id="details-link">Show details...</a>
<pre id="backtrace" style="display: none">
-<%= @error.backtrace.join("\n") %>
+<%= backtrace.blank? ? @error.backtrace.join("\n") : "No information available" %>
</pre>
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org