{"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":"176371da8a714e70c0e7c3339fdbcbcbc7d5fcd232e9e4d6fdfde70035f2b615","isBugfix":0.8892,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9223,"feature":0.0234,"refactor":0.0346,"tests_only":0.0104,"docs_only":0.0047,"dependency":0.0046},"confidence":0.8231},"scope":{"score":1.6696,"probabilities":{"0":0.0787,"1":0.1729,"2":0.7484},"confidence":0.3942},"risk":{"score":0.6372,"probabilities":{"0":0.4341,"1":0.4947,"2":0.0712},"confidence":0.1573},"area":{"choice":"framework","probabilities":{"catalog":0.0028,"checkout":0.003,"customer":0.0025,"admin":0.0064,"graphql_api":0.0025,"framework":0.9747,"frontend":0.0035,"other":0.0046},"confidence":0.9431},"securityRelevant":0.0074,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0041,"2.4.0-p1":0.0048,"2.4.1":0.0048,"2.4.1-p1":0.0046,"2.4.2":0.0069,"2.4.2-p1":0.0065,"2.4.2-p2":0.0085,"2.4.3":0.009,"2.4.3-p1":0.0112,"2.4.3-p2":0.0145,"2.4.3-p3":0.008,"2.4.4":0.011,"2.4.4-p1":0.0065,"2.4.4-p10":0.0069,"2.4.4-p11":0.0075,"2.4.4-p12":0.0065,"2.4.4-p13":0.0065,"2.4.4-p14":0.0077,"2.4.4-p15":0.0064,"2.4.4-p16":0.008,"2.4.4-p17":0.0062,"2.4.4-p18":0.0047,"2.4.4-p2":0.0027,"2.4.4-p3":0.0029,"2.4.4-p4":0.0027,"2.4.4-p5":0.0031,"2.4.4-p6":0.0037,"2.4.4-p7":0.0039,"2.4.4-p8":0.0044,"2.4.4-p9":0.0037,"2.4.5":0.0127,"2.4.5-p1":0.0102,"2.4.5-p10":0.0074,"2.4.5-p11":0.0135,"2.4.5-p12":0.0105,"2.4.5-p13":0.0075,"2.4.5-p14":0.0093,"2.4.5-p15":0.0072,"2.4.5-p16":0.009,"2.4.5-p17":0.0074,"2.4.5-p2":0.0038,"2.4.5-p3":0.005,"2.4.5-p4":0.0041,"2.4.5-p5":0.0047,"2.4.5-p6":0.0069,"2.4.5-p7":0.0067,"2.4.5-p8":0.0055,"2.4.5-p9":0.0043,"2.4.6":0.0281,"2.4.6-p1":0.0222,"2.4.6-p10":0.0115,"2.4.6-p11":0.0172,"2.4.6-p12":0.0138,"2.4.6-p13":0.0114,"2.4.6-p14":0.0137,"2.4.6-p15":0.0096,"2.4.6-p2":0.0045,"2.4.6-p3":0.007,"2.4.6-p4":0.0061,"2.4.6-p5":0.0064,"2.4.6-p6":0.0091,"2.4.6-p7":0.0088,"2.4.6-p8":0.0069,"2.4.6-p9":0.005,"2.4.7":0.0257,"2.4.7-p1":0.017,"2.4.7-p10":0.0125,"2.4.7-p2":0.0095,"2.4.7-p3":0.0149,"2.4.7-p4":0.0177,"2.4.7-p5":0.0136,"2.4.7-p6":0.0181,"2.4.7-p7":0.0159,"2.4.7-p8":0.0117,"2.4.7-p9":0.0072,"2.4.8":0.0363,"2.4.8-p1":0.0277,"2.4.8-p2":0.028,"2.4.8-p3":0.023,"2.4.8-p4":0.0206,"2.4.8-p5":0.0176,"2.4.9":0.0303,"unspecified":0.1478},"confidence":0.0231},"backportWorthy":{"score":1.3199,"probabilities":{"0":0.1616,"1":0.357,"2":0.4814},"confidence":0.078}},"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"}