Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Changes needed to allow a move verbose error message

thelif8de2556f8aa
diff --git a/htroot/proxymsg/error.html b/htroot/proxymsg/error.html
index b8124ecbc..d0eed2b3c 100644
--- a/htroot/proxymsg/error.html
+++ b/htroot/proxymsg/error.html
@@ -32,29 +32,45 @@
</table>
<br><br>
-<table border="0" cellspacing="0" cellpadding="0" width="100%">
+<table border="0" cellspacing="0" cellpadding="0" style="margin-left: auto; margin-right: auto; margin-top: 5em;">
<tr>
-<td width="80"></td>
-<td>
-<br><br><br><br><br><br><br><br><br><br>
-<p>
-<h2>Error with URL '#[url]#':</h2><br><br>
-<tt>#[httperror]#</tt><br><br>
-<h3>
-#(errormessage)#
-unspecified error
-::
-not-yet-assigned error
-::
-You don't have an active internet connection. Please go online.
-::
-Could not load resource. The file is not available.
+ <td>
+ <p>
+ <h2>Error with request: <font color="#556699">#[requestMethod]# #[requestURL]#:</font></h2>
+ <br>
+ <br>
+ <tt>#[httpStatus]#</tt>
+ <p>
+ <b>
+ #(errorMessageType)#
+ unspecified error
+ ::
+ not-yet-assigned error
+ ::
+ You don't have an active internet connection. Please go online.
+ ::
+ Could not load resource. The file is not available.
+ ::
+ #[detailedErrorMsg]#
+ #(/errorMessageType)#
+ </b>
+ </p>
+ </p>
+ </td>
+</tr>
+<tr><td><hr></td></tr>
+#(printStackTrace)#
+<tr>
+ <td>No stacktrace available</td>
+</tr>
::
-#(/errormessge)#
-</h3>
-</p>
-</td>
-<td width="80"></td>
-</tr></table>
+<tr>
+ <td>
+ <code><font color="red">#[stacktrace]#</font></code>
+ </td>
+</tr>
+#(/printStackTrace)#
+</table>
+
</body>
</html>