X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b99a043c78f756f58b8e106ba60e999ea9538bb3..20f1939c4c61ef28b128593b2ae5f841af567042:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 069f3e25..1959ded3 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,5 +1,30 @@
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