Skip to content

Fix: Return proper error on cron.checkLock #211

@meirmouyal

Description

@meirmouyal

if (err && err.code == "ConditionalCheckFailedException") {

This line should actually check for error.name as the aws-sdk v3 does no longer use error.code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions