X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3ea1b35b3243e4e2d061a207460b009883522d24..7164fd310dcb9d657e17661d35cccc0f19931248:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 115a9495..39e6da40 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,9 +1,34 @@
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 an the URL you used.
'; + if (CONST_Debug) + { + echo "".$sSQL."
";
+ }
+ if ($vDumpVar) {
+ echo "";
+ var_dump($vDumpVar);
+ echo "
";
+ }
+ }
+ echo "\n