Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Console] Adding more helpful error messages to the Questionhelper#61308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:7.4frommamazu:more_helpful_errors
Aug 6, 2025

Conversation

@mamazu
Copy link
Contributor

@mamazumamazu commentedAug 2, 2025
edited by nicolas-grekas
Loading

QA
Branch?7.4
Bug fix?no
New feature?yes
Deprecations?no
Issues-
LicenseMIT

When trying to debug, having an error like this is not very helpful:

1) Sylius\Bundle\GridBundle\Tests\Functional\Maker\MakeGridTest::it_can_create_grids_interactivelySymfony\Component\Console\Exception\MissingInputException: Aborted.symfony/console/Helper/QuestionHelper.php:273symfony/console/Helper/QuestionHelper.php:139symfony/console/Helper/QuestionHelper.php:65symfony/console/Helper/QuestionHelper.php:473symfony/console/Helper/QuestionHelper.php:67symfony/console/Style/SymfonyStyle.php:307symfony/console/Style/SymfonyStyle.php:247

When trying to debug where the error is actually coming from. More helpful would be:

1) Sylius\Bundle\GridBundle\Tests\Functional\Maker\MakeGridTest::it_can_create_grids_interactivelySymfony\Component\Console\Exception\MissingInputException: Aborted while asking: Entity class to create a grid for

@mamazu
Copy link
ContributorAuthor

This issue has been incorrectly tagged with deprecation.

But I would also be happy to apply this to a lower version of Symfony so that more people can have better error messages.

@carsonbotcarsonbot changed the titleAdding more helpful error messages to the Questionhelper[Console] Adding more helpful error messages to the QuestionhelperAug 3, 2025
@fabpot
Copy link
Member

FYI, such improvements are always merged for the next version.

@fabpot
Copy link
Member

Thank you@mamazu.

@fabpotfabpot merged commitd0118a9 intosymfony:7.4Aug 6, 2025
11 of 12 checks passed
@mamazumamazu deleted the more_helpful_errors branchAugust 6, 2025 06:53
vrana added a commit to vrana/symfony that referenced this pull requestSep 7, 2025
nicolas-grekas added a commit that referenced this pull requestSep 8, 2025
This PR was merged into the 7.4 branch.Discussion----------[Console] Fix test after#61308| Q             | A| ------------- | ---| Branch?       | 7.4| Bug fix?      | yes| New feature?  | no <!-- if yes, also update src/**/CHANGELOG.md -->| Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->| License       | MIT#61308 broke this test in Git Bash.Commits-------cff606a [Console] Fix test after#61308
nicolas-grekas added a commit that referenced this pull requestSep 8, 2025
* 7.4:  [FrameworkBundle] Normalize workflow places separately  [Console] Don’t automatically append EOT to multiline test inputs  [Serializer] add correct psalm and phpstan return types for `DenormalizerInterface`  [Validator] Review Albanian translations  [Intl] Remove incorrect condition in CurrencyDataGenerator::icuPairToDate  [Console] Fix test after#61308  [Config] Fix `GlobResource` pattern with trailing slash
This was referencedOct 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

7.4

Development

Successfully merging this pull request may close these issues.

6 participants

@mamazu@fabpot@vrana@nicolas-grekas@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp