Skip to content

Exception with expose_tracebacks=True and unicode in traceback #338

@jkmnt

Description

@jkmnt

Not so important since the expose_tracebacks is not for production, but anyway:

if expose_tracebacks is true and there is non-ascii in exception trace,
waitress fails to encode the error body:

class ErrorTask(Task): def execute(self): self.write(tobytes(body))

Socket is left open and client stucks.

waitress 1.4.4, windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions