add new line separators to the output

This commit is contained in:
kvazar-network 2025-04-21 16:47:09 +03:00
parent f2a0c3a94e
commit 43a171254a

View File

@ -20,7 +20,7 @@ $semaphore = sem_get(
if (false === sem_acquire($semaphore, true)) if (false === sem_acquire($semaphore, true))
{ {
exit( 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)) if (!file_exists(CONFIG))
{ {
exit( exit(
_('Config not found!') _('Config not found!') . PHP_EOL
); );
} }
@ -82,7 +82,7 @@ switch ($config->index->driver)
print_r( print_r(
$exception, $exception,
true true
) ) . PHP_EOL
); );
} }
@ -91,7 +91,7 @@ switch ($config->index->driver)
default: default:
exit( exit(
_('Undefined index driver!') _('Undefined index driver!') . PHP_EOL
); );
} }
@ -113,7 +113,7 @@ catch (Exception $exception)
print_r( print_r(
$exception, $exception,
true true
) ) . PHP_EOL
); );
} }
@ -138,7 +138,7 @@ if (isset($argv[1]))
); );
exit( exit(
_('Index dropped!') _('Index dropped!') . PHP_EOL
); );
break; break;
@ -149,7 +149,7 @@ if (isset($argv[1]))
$index->optimize(); $index->optimize();
exit( exit(
_('Index optimized!') _('Index optimized!') . PHP_EOL
); );
break; break;
@ -191,7 +191,7 @@ while (true)
sprintf( sprintf(
_('Could not receive "%d" block hash!'), _('Could not receive "%d" block hash!'),
$block $block
) ) . PHP_EOL
); );
} }
@ -207,7 +207,7 @@ while (true)
_('Could not receive "%d" block data by hash "%s"!'), _('Could not receive "%d" block data by hash "%s"!'),
$block, $block,
$hash $hash
) ) . PHP_EOL
); );
} }
@ -218,7 +218,7 @@ while (true)
_('Could not receive tx data in block "%d"!'), _('Could not receive tx data in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -241,7 +241,7 @@ while (true)
_('Could not receive txid of transaction "%s" in block "%d"!'), _('Could not receive txid of transaction "%s" in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -252,7 +252,7 @@ while (true)
_('Could not receive vout of transaction "%s" in block "%d"!'), _('Could not receive vout of transaction "%s" in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -263,7 +263,7 @@ while (true)
_('Could not receive time of transaction "%s" in block "%d"!'), _('Could not receive time of transaction "%s" in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -274,7 +274,7 @@ while (true)
_('Could not receive size of transaction "%s" in block "%d"!'), _('Could not receive size of transaction "%s" in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -288,7 +288,7 @@ while (true)
_('Invalid vout transaction "%s" in block "%d"!'), _('Invalid vout transaction "%s" in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -318,7 +318,7 @@ while (true)
_('Undefined namespace of transaction "%s" in block "%d"!'), _('Undefined namespace of transaction "%s" in block "%d"!'),
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
@ -407,7 +407,7 @@ while (true)
$asm[0], $asm[0],
$transaction, $transaction,
$block $block
) ) . PHP_EOL
); );
} }
} }