Skip to content

Express "write after end" on error in SQL query #6

@thomasswilliams

Description

@thomasswilliams

If the SQL query errors, the default error function "fnOnError" ends the request (called from line 59). After the request is ended, any writes to the request cause an error - for example, line 62.

One fix would be to test for an error in the if statement on line 61.

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