Skip to content

Address failures that break telemetry #2010

Open
@rtpascual

Description

@rtpascual

Describe the bug

In the scenario when failures happen before the CLI gets to send telemetry, we are unable to figure out impact.

A suggestion may be to dynamically import yargs and lift it up in order to have these types of failures go through our error handling.

See https://github.com/aws-amplify/amplify-backend/actions/runs/10876578911/job/30176690831#step:6:1133 for an example of an error that happened when loading CLI before it runs a command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtech-debtRefactors, unsavory workarounds or other technical decisions that should be revisited later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions