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