Commit 25f8ccb8 authored by Hendrik Heneke's avatar Hendrik Heneke
Browse files

Print stack trace when verbose

parent 5cee5eab
Pipeline #492 passed with stage
in 54 seconds
......@@ -68,6 +68,10 @@ class Generator
} catch (\Throwable $t) {
if (!$t instanceof ValidationException) {
$this->writeln($output, "<error>== generating configuration file {$definition->getId()} failed: {$t->getMessage()}</error>");
if ($output && $output->isVerbose()) {
$this->writeln($output, $output->getVerbosity());
$this->writeln($output, "<error>{$t->getTraceAsString()}</error>");
}
}
$success[] = false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment