X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2148d81474728c4d59100f8d281ca0dfbe5e7ac2..ad89c1f0ca8ba72a820cbce244dc7e5a7a2d5a52:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index d36e6472..547b1083 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,9 +1,47 @@
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