- adding more logging output in case REST request fails