mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
Show regular output when errorOutput is empty (#1554)
* Show regular output when errorOutput is empty * Update CHANGELOG.md
This commit is contained in:
parent
6cfc6173ed
commit
c3f77d3dfc
@ -16,6 +16,7 @@
|
||||
- Throw meaningfull exception on errors in cd() [#1480]
|
||||
- Make sure Context::pop() is called when Callback errors in on(...) function [#1513]
|
||||
- Update silverstripe recipe to support silverstripe 4
|
||||
- Show standard output in exceptions when error output is empty [#1554]
|
||||
|
||||
## v6.0.5
|
||||
[v6.0.4...v6.0.5](https://github.com/deployphp/deployer/compare/v6.0.4...v6.0.5)
|
||||
@ -349,7 +350,7 @@
|
||||
- Fixed typo3 recipe
|
||||
- Fixed remove of shared dir on first deploy
|
||||
|
||||
|
||||
[#1554]: https://github.com/deployphp/deployer/pull/1554
|
||||
[#1521]: https://github.com/deployphp/deployer/pull/1521
|
||||
[#1513]: https://github.com/deployphp/deployer/pull/1513
|
||||
[#1481]: https://github.com/deployphp/deployer/issues/1481
|
||||
|
@ -47,7 +47,7 @@ class RuntimeException extends Exception
|
||||
|
||||
$message .= sprintf(
|
||||
"\n\n================\n%s",
|
||||
$errorOutput
|
||||
trim($errorOutput) ? $errorOutput : $output
|
||||
);
|
||||
|
||||
parent::__construct($message, $exitCode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user