Skip to content

Wrong exception type raised on error 500 #36

@headshota

Description

@headshota

Received the following exception during Emarsys::Contact.update_batch

Emarsys::BadRequest
errorHTTP-Code: 500, Emarsys-Code: 1 - Database connection failed: timeout

Seems like it should be Emarsys::InternalServerError instead of Emarsys::BadRequest that should be raised right?

Gem version (0.3.3)

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