pizug / cpi-sync

CPI Sync lets you download your SAP Cloud Integration content in an easy, structured, and automated way.
https://pizug.com
GNU General Public License v3.0
14 stars 2 forks source link

Better error message for missing package ID #1

Closed fatihpense closed 3 years ago

fatihpense commented 3 years ago

This is not explanatory:

Processing Package: Package { id: "******************", local_dir: None }
reqwest::Error { kind: Decode, source: Error("missing field `d`", line: 1, column: 67) }

We can print HTTP code and response body when an error happens.

fatihpense commented 3 years ago

Should be fixed with 0.2.0 release.