Skip to content

ExceptionFormatter ignores ErrorDetail with an empty detail message #82

@kietheros

Description

@kietheros

If my code raises APIException(""), it will be ignored.

try:
	func()  # could raise an Exception with empty message
except Exception as ex:
	raise APIException(str(ex))

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