This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bridge
Nicolas Grekas 278f40f48d bug #27143 [Console] By default hide the short exception trace line from exception messages in Symfony's commands (yceruto)
This PR was merged into the 3.4 branch.

Discussion
----------

[Console] By default hide the short exception trace line from exception messages in Symfony's commands

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License        | MIT
| Doc PR        | -

After https://github.com/symfony/symfony/pull/24131 this was in my contribution list since then.

Maybe it should be taken as a good practice when we build console commands, **use the exception classes of the Console component as much as possible to show a better message style to the end user**.

(See the before/after effect in the referenced PR)

Commits
-------

11f3c455d4 Hide short exception trace by default
2018-05-04 10:44:42 -07:00
..
Doctrine [Doctrine Bridge] fix priority for doctrine event listeners 2018-05-03 09:30:44 +02:00
Monolog Improve assertions 2018-02-01 04:11:27 -02:00
PhpUnit [PhpUnitBridge] Fix 2018-04-30 08:36:51 -07:00
ProxyManager Retro-fit proxy code to make it deterministic for older proxy manager implementations 2018-02-16 18:39:08 +00:00
Twig Hide short exception trace by default 2018-05-03 19:18:14 -04:00