Skip to content

[$50] In update challenge id script, log failed records to console #218

Closed
@callmekatootie

Description

@callmekatootie

Script

In this script, we are facing an issue where, when we fetch the details of a challenge using legacy id, the api call to challenge api, on some occasion is failing.

We would like to catch the error gracefully - script must not stop and continue to execute the other api calls / processor other records.

The script, at the end, should log the submission id for failed transaction as well as the legacy challenge id for that submission id.
It should also log the total records (count) that were successfully updated v/s the total records that failed due to error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions