EnterpriseyIntranet / nextcloud-API

NextCloud OCS API for Python
GNU General Public License v3.0
27 stars 27 forks source link

Process JSON parsing exception in response #41

Closed danil-topchiy closed 5 years ago

danil-topchiy commented 5 years ago

For cases when server returns 500 and response in html

scrutinizer-notifier commented 5 years ago

The inspection completed: No new issues

codecov-io commented 5 years ago

Codecov Report

Merging #41 into master will decrease coverage by 0.48%. The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   92.91%   92.42%   -0.49%     
==========================================
  Files          17       17              
  Lines         536      541       +5     
==========================================
+ Hits          498      500       +2     
- Misses         38       41       +3
Impacted Files Coverage Δ
src/nextcloud/response.py 78.94% <75%> (-5.91%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 762a2dd...d5b0ae8. Read the comment docs.

matejak commented 5 years ago

Nice little improvement, thank you!