Skip to content

Script fails with "ERROR" when any "set" fails a fuction #43

@tschettervictor

Description

@tschettervictor

I currently have 1 local set, 1 remote pull set, and 1 remote push set configured in the REPLICATE_SETS var.

But, when one of the "sets" fails a function, the whole script will error and fail.

What should happen is that it should just skip that "set" and move to the next one.

To test this with the function called "checkDataset" just use a dataset that doesn't exist on your server. The script will error out instead of skipping that one dataset.
Perhaps it could even give the reason for skipping it in the logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions