smartcar / java-sdk

Java client SDK for the Smartcar API.
https://smartcar.github.io/java-sdk
MIT License
20 stars 20 forks source link

fix: handle invalid json / string body #86

Closed s-ashwinkumar closed 3 years ago

s-ashwinkumar commented 3 years ago

Asana: https://app.asana.com/0/1198085188814749/1197421727948877

Changes are only in src/main/java/com/smartcar/sdk/SmartcarException.java src/test/java/com/smartcar/sdk/SmartcarExceptionTest.java

codecov[bot] commented 3 years ago

Codecov Report

Merging #86 into master will decrease coverage by 0.92%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #86      +/-   ##
============================================
- Coverage     51.08%   50.16%   -0.93%     
  Complexity       86       86              
============================================
  Files            25       25              
  Lines           599      610      +11     
  Branches         29       29              
============================================
  Hits            306      306              
- Misses          282      293      +11     
  Partials         11       11              
Flag Coverage Δ Complexity Δ
#integration 48.85% <0.00%> (-0.90%) 85.00 <0.00> (ø)
#test 5.08% <0.00%> (-0.10%) 9.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
.../main/java/com/smartcar/sdk/SmartcarException.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)

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 b2bfe02...afec6dc. Read the comment docs.