You will need to modify the code in order to fetch the error message.
The error is logged in HttpUtilsService.HandleError:
Sub HandleError(TaskId As Int, Reason As String)
Dim link As String
link = TaskToRequest.Get(TaskId)
Log("Error. Url=" & link & " Message=" & Reason)
End Sub
You can add a Map and store the link and error as key and value.