X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/942ed125d4c7f93a741166cfeacf8d6115623e8d..b4c87a09a194a7d966724ce48ba2d8ef0d044ca0:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 7f56a1de..96d2c048 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,30 +1,73 @@
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