tuomur / python-odata

A simple library for read/write access to OData services
MIT License
79 stars 59 forks source link

Incorrect raising for request error #37

Open Kapellmeister opened 4 years ago

Kapellmeister commented 4 years ago

Since perform-requests (such as _do_get()) methods of ODataConnection wrapped in catch_requests_errors decorator, ODataConnectionError raised without status_code.

Must add status_code assigning in catch_requests_errors decorator.