forked from hans/Nominatim
send fail messages to error log
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
function fail($sError, $sUserError = false)
|
function fail($sError, $sUserError = false)
|
||||||
{
|
{
|
||||||
if (!$sUserError) $sUserError = $sError;
|
if (!$sUserError) $sUserError = $sError;
|
||||||
log('ERROR:'.$sError);
|
error_log('ERROR: '.$sError);
|
||||||
echo $sUserError."\n";
|
echo $sUserError."\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user