Skip to content
  • Michail Alexakis's avatar
    Replace non-existent `error` attribute for requests.Response object · b23b3470
    Michail Alexakis authored
    If an exception happens, during the update of a resource of a task, the attempt to log context
    information (status of failed request) will lookup for a non-existent `error` attribute of a
    `requests.Response` object . To fix this, we must replace with the `reason` attribute (provides
    status text of HTTP response).
    b23b3470