Skip to content

Upload script doesn't return a non-zero exit code on failure to create bundle #1831

Open
@gigaSproule

Description

@gigaSproule

When running the upload script, we have noticed that whilst it fails to create the bundle and it prints out the reason (bundle size too large in our case), it doesn't return a non-zero exit code, so it doesn't fail our CI/CD job. Looking into the code, it looks like the request that is made is wrapped in a try/catch and the error is consumed (

). I'm guessing this is so bundleSpinner.stop(); can be called for some specific reason, because nothing else is being called afterwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions