发布

  • fix(core): wrap CNW normalize args function in error handler (#34905)

    frostbyte_neo 发布于 2026-03-18 13:56:02 +00:00

    This is a follow-up to https://github.com/nrwl/nx/pull/34902, where we
    throw CnwError for known problems.

    We need to wrap normalizeArgsMiddleware in a try-catch to invoke the
    shared (extracted) error handler, since these errors are not within the
    main function body but happens prior.

    Before this PR:

    image

    After:

    image


    Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>

    下载附件