more debug logging
This commit is contained in:
parent
15c86bde6e
commit
37fbaa575e
1 changed files with 5 additions and 1 deletions
|
|
@ -132,7 +132,11 @@ task('typo3:cache:flush', function () {
|
|||
|
||||
task('typo3:cache:warmup', function () {
|
||||
cd('{{release_or_current_path}}');
|
||||
run('{{bin/php}} bin/typo3 cache:warmup 2>&1');
|
||||
// Append exit code so run() won't throw before we can read the output
|
||||
$result = run('{{bin/php}} -d display_errors=1 bin/typo3 cache:warmup 2>&1; echo EXIT_CODE:$?');
|
||||
if (!str_contains($result, 'EXIT_CODE:0')) {
|
||||
throw new \RuntimeException("cache:warmup failed:\n" . $result);
|
||||
}
|
||||
})->desc('Warmup TYPO3 caches');
|
||||
|
||||
task('typo3:language:update', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue