Skip to content

Server runtime crashes if /content-element accessed without cookie #12

@tueda-hvd

Description

@tueda-hvd

To reproduce, run pnpm dev in example, then run curl -i localhost:8030/content-element. The server responds with a 400 and the message "cekClientId cookie is missing" as expected, but the server runtime continues to attempt to process the request, and crashes when it looks for the nonexistent cookie value. The expected result is that a cookie-less request should return the 400 status and end the request processing.

The use case is attempting to run a health check against the individual runtimes, server runtime included. In the meantime, we can use the root url and expect the 400 status as confirmation of server health.

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