#43 [_call_api] Use concise exception message when wrong url
Merged by cverna. Opened by jpopelka.
jpopelka/libpagure call-api-404  into  master

Download 43.patch

As you can see in https://github.com/packit-service/packit/issues/305 one gets a cryptic
Error while decoding JSON: Expecting value: line 1 column 1 (char 0)
when _call_api() requests a wrong url (for more details see https://github.com/packit-service/ogr/issues/67).

Cool thanks @jpopelka @ttomecek do you guys want commit permissions to this project ?

Pull-Request has been merged by cverna

As @lachmanfrantisek indicated in some issue (can't find it right now) we are considering of dropping usage of libpagure and talk to pagure api directly in our ogr library.

Yes, having commit access would help us, but at the same time, we have already developed a library which we use a lot. Should we talk about this in person?

Metadata