diff --git a/lib/lib.php b/lib/lib.php index a7c805f7..d8ff2f64 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 an the URL you used.
'; + if (CONST_Debug) + { + echo "".$sSQL."
";
+ }
+ if ($vDumpVar) {
+ echo "";
+ var_dump($vDumpVar);
+ echo "
";
+ }
+ }
+ echo "\n