mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-08-26 14:32:02 +00:00
add new line separators to the output
This commit is contained in:
parent
f2a0c3a94e
commit
43a171254a
@ -20,7 +20,7 @@ $semaphore = sem_get(
|
||||
if (false === sem_acquire($semaphore, true))
|
||||
{
|
||||
exit(
|
||||
_('Process locked by another thread!')
|
||||
_('Process locked by another thread!') . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ if (false === sem_acquire($semaphore, true))
|
||||
if (!file_exists(CONFIG))
|
||||
{
|
||||
exit(
|
||||
_('Config not found!')
|
||||
_('Config not found!') . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@ switch ($config->index->driver)
|
||||
print_r(
|
||||
$exception,
|
||||
true
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ switch ($config->index->driver)
|
||||
default:
|
||||
|
||||
exit(
|
||||
_('Undefined index driver!')
|
||||
_('Undefined index driver!') . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ catch (Exception $exception)
|
||||
print_r(
|
||||
$exception,
|
||||
true
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -138,7 +138,7 @@ if (isset($argv[1]))
|
||||
);
|
||||
|
||||
exit(
|
||||
_('Index dropped!')
|
||||
_('Index dropped!') . PHP_EOL
|
||||
);
|
||||
|
||||
break;
|
||||
@ -149,7 +149,7 @@ if (isset($argv[1]))
|
||||
$index->optimize();
|
||||
|
||||
exit(
|
||||
_('Index optimized!')
|
||||
_('Index optimized!') . PHP_EOL
|
||||
);
|
||||
|
||||
break;
|
||||
@ -191,7 +191,7 @@ while (true)
|
||||
sprintf(
|
||||
_('Could not receive "%d" block hash!'),
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -207,7 +207,7 @@ while (true)
|
||||
_('Could not receive "%d" block data by hash "%s"!'),
|
||||
$block,
|
||||
$hash
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -218,7 +218,7 @@ while (true)
|
||||
_('Could not receive tx data in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -241,7 +241,7 @@ while (true)
|
||||
_('Could not receive txid of transaction "%s" in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -252,7 +252,7 @@ while (true)
|
||||
_('Could not receive vout of transaction "%s" in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -263,7 +263,7 @@ while (true)
|
||||
_('Could not receive time of transaction "%s" in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -274,7 +274,7 @@ while (true)
|
||||
_('Could not receive size of transaction "%s" in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -288,7 +288,7 @@ while (true)
|
||||
_('Invalid vout transaction "%s" in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -318,7 +318,7 @@ while (true)
|
||||
_('Undefined namespace of transaction "%s" in block "%d"!'),
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
@ -407,7 +407,7 @@ while (true)
|
||||
$asm[0],
|
||||
$transaction,
|
||||
$block
|
||||
)
|
||||
) . PHP_EOL
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user