{"data":{"id":"magento2-40063","source":"github-pr","sourceRef":"magento/magento2#40063","title":"Ensure that a single command failure logs the error (file or stderr) without stopping the execution of subsequent CLI commands.","pr":{"number":40063,"url":"https://github.com/magento/magento2/pull/40063","author":"Genaker","mergedAt":"2026-01-09T08:51:51Z","mergeCommit":"601e577f860a783470e517ab619be51cec4ca605","headCommit":"a450b860632735dd0f2910576c4bd3c7dcc3a9cc","baseRef":"2.4-develop","diffSha256":"c56eb1ad5b7f6d55669589e04ac08f42a2f6216fedf77d7d60b3cb8c102102b9"},"issues":[{"number":40006,"url":"https://github.com/magento/magento2/issues/40006","title":"Ensure that a single command failure logs the error (file or stderr) without stopping the execution of subsequent CLI commands.","labels":["Area: Framework","Component: Framework/Cache","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","2.4.7-p4":"conflict","2.4.7-p5":"conflict","2.4.7-p6":"conflict","2.4.7-p7":"conflict","2.4.7-p8":"conflict","2.4.7-p9":"conflict","2.4.7-p10":"conflict","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":[],"components":["magento/framework"],"files":[{"path":"lib/internal/Magento/Framework/Console/Cli.php","change":"modified","package":"magento/framework"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":280,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Framework"],"component":["Framework/Cache"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"345347ee0d38b2d5547f492324193881e5eb866315d1d25ad94e3085ef0041c6","isBugfix":0.8846,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.918,"feature":0.0241,"refactor":0.029,"tests_only":0.0079,"docs_only":0.0041,"dependency":0.0041,"cleanup":0.0128},"confidence":0.8185},"scope":{"score":1.6898,"probabilities":{"0":0.0731,"1":0.164,"2":0.7629},"confidence":0.4214},"risk":{"score":0.6362,"probabilities":{"0":0.4433,"1":0.4773,"2":0.0794},"confidence":0.1459},"area":{"choice":"framework","probabilities":{"catalog":0.0028,"checkout":0.0031,"customer":0.0025,"admin":0.0069,"graphql_api":0.0025,"framework":0.9738,"frontend":0.0036,"other":0.0048},"confidence":0.9409},"securityRelevant":0.0076,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0042,"2.4.0-p1":0.0046,"2.4.1":0.0049,"2.4.1-p1":0.0039,"2.4.2":0.0069,"2.4.2-p1":0.0061,"2.4.2-p2":0.0073,"2.4.3":0.0087,"2.4.3-p1":0.0096,"2.4.3-p2":0.0125,"2.4.3-p3":0.0066,"2.4.4":0.0112,"2.4.4-p1":0.006,"2.4.4-p10":0.0065,"2.4.4-p11":0.007,"2.4.4-p12":0.0066,"2.4.4-p13":0.0069,"2.4.4-p14":0.0081,"2.4.4-p15":0.0064,"2.4.4-p16":0.0079,"2.4.4-p17":0.0063,"2.4.4-p18":0.005,"2.4.4-p2":0.0026,"2.4.4-p3":0.0027,"2.4.4-p4":0.0028,"2.4.4-p5":0.0031,"2.4.4-p6":0.0034,"2.4.4-p7":0.0034,"2.4.4-p8":0.0044,"2.4.4-p9":0.0038,"2.4.5":0.0135,"2.4.5-p1":0.0105,"2.4.5-p10":0.0088,"2.4.5-p11":0.015,"2.4.5-p12":0.0138,"2.4.5-p13":0.0084,"2.4.5-p14":0.0099,"2.4.5-p15":0.0079,"2.4.5-p16":0.0088,"2.4.5-p17":0.0076,"2.4.5-p2":0.0036,"2.4.5-p3":0.0048,"2.4.5-p4":0.0045,"2.4.5-p5":0.0045,"2.4.5-p6":0.0081,"2.4.5-p7":0.0075,"2.4.5-p8":0.0058,"2.4.5-p9":0.0043,"2.4.6":0.0246,"2.4.6-p1":0.0215,"2.4.6-p10":0.015,"2.4.6-p11":0.0154,"2.4.6-p12":0.014,"2.4.6-p13":0.0103,"2.4.6-p14":0.0127,"2.4.6-p15":0.0107,"2.4.6-p2":0.0043,"2.4.6-p3":0.0075,"2.4.6-p4":0.0064,"2.4.6-p5":0.007,"2.4.6-p6":0.0118,"2.4.6-p7":0.0079,"2.4.6-p8":0.0065,"2.4.6-p9":0.0051,"2.4.7":0.0277,"2.4.7-p1":0.0156,"2.4.7-p10":0.0121,"2.4.7-p2":0.0101,"2.4.7-p3":0.0147,"2.4.7-p4":0.0174,"2.4.7-p5":0.0142,"2.4.7-p6":0.016,"2.4.7-p7":0.0144,"2.4.7-p8":0.0108,"2.4.7-p9":0.0077,"2.4.8":0.0436,"2.4.8-p1":0.0269,"2.4.8-p2":0.0292,"2.4.8-p3":0.0238,"2.4.8-p4":0.022,"2.4.8-p5":0.0175,"2.4.9":0.0358,"unspecified":0.1331},"confidence":0.0198},"backportWorthy":{"score":1.2546,"probabilities":{"0":0.1891,"1":0.3671,"2":0.4438},"confidence":0.0512}},"curated":{"title":"Fixes bin/magento hiding the real error when a command class fails to load","description":"When one command class fails to load, bin/magento reports only that there is no command found in the namespace, with no class name or message. Console Cli now catches the exception per command class: in developer mode it throws it, in production mode it logs the error to var/log/system.log and the CLI will continue with available commands.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-40063 details"}