Using HTTP response status code to check if an operation succeeds, and just log the return value returned from Pagure.
Message within a return value from Pagure would have different type of different APIs. So, for simplicity, just log the whole return value directly.
Fix #22 Fix #23
Signed-off-by: Chenxiong Qi cqi@redhat.com
Because there is no test infra currently, no test is added. Feel free to test this change if you wish.
Infra for running tests will be added in future PR soon.
Pull-Request has been merged by cqi
Using HTTP response status code to check if an operation
succeeds, and just log the return value returned from Pagure.
Message within a return value from Pagure would have different type of
different APIs. So, for simplicity, just log the whole return value
directly.
Fix #22
Fix #23
Signed-off-by: Chenxiong Qi cqi@redhat.com