X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2be00f37c175630e23e1ee6a4aa6897fda41eb33..d3ff9600b5e345239f4dc1b5d1b7244f5a25d051:/lib/lib.php?ds=sidebyside diff --git a/lib/lib.php b/lib/lib.php index ca71a7b4..e81d85be 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,30 +1,79 @@
Nominatim has encountered an internal error while processing your request. This is most likely because of a bug in the software.
'; + echo "Details: ".$sError,"
"; + echo 'Feel free to report the bug in the OSM bug database. Please include the error message above and the URL you used.
'; + if (CONST_Debug) + { + echo "".$sSQL."
";
+ }
+ if ($vDumpVar)
+ {
+ echo "";
+ var_dump($vDumpVar);
+ echo "
";
+ }
+ }
+ echo "\n