Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
hhit
config-generator
Commits
25f8ccb8
Commit
25f8ccb8
authored
Dec 22, 2022
by
Hendrik Heneke
Browse files
Print stack trace when verbose
parent
5cee5eab
Pipeline
#492
passed with stage
in 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/Generator/Generator.php
src/Generator/Generator.php
+4
-0
No files found.
src/Generator/Generator.php
View file @
25f8ccb8
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment