Troubleshooting 100% CPU load on demo - found infinite loop displaying error page on webstore

This commit is contained in:
Carlos Ruiz 2013-01-06 15:48:22 -05:00
parent f0b547815f
commit 1d71fecfa8
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@
out.println("<pre><font color=\"red\">");
out.println(cw.toString());
out.println("</font></pre>");
if (ex.equals(exception.getCause())) // prevent infinite loop
break;
ex = exception.getCause();
}
%>