Skip to content

Show invalid XML on ExpatError #986

Description

@mfeurer

Description

Sometimes, the server returns an invalid XML which cannot be parsed by xmltodict. It would be great to see this invalid XML.

Steps/Code to Reproduce

Continuously run the unittests under high load.

Expected Results

A useful exception containing the invalid XML.

Actual Results

/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/xmltodict.py:327: ExpatError

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions