Skip to content

cursor cannot be set, error message is displayed directly when an exception occurs #5

@danielhuang-030

Description

@danielhuang-030

Hi, I found two issues when used:

  1. cursor cannot be set
    Because "string" == 0 will always returns true in PHP.

    $this->cursor = $cursor == 0 ? 'initial' : $cursor;

    After setting $cursor will only be "initial".

  2. error message is displayed directly when an exception occurs

    dd($e->getAwsErrorMessage() ?: $e->getMessage());

Please help confirm, thanks.

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