iOS Question How do I display the Exception in the JobDone function

Discussion in 'iOS Questions' started by davepamn, Mar 2, 2015.

  1. davepamn

    davepamn Active Member Licensed User

    Sub JobDone(Job as HttpJob)
    if Job.Success=true then

      (Display cause of failure)
    Msgbox(Job.GetString,"Job Failed" & job.ErrorMessage)
    end if
    end sub
    I am getting a message "Unknown Error" - that doesn't help much
  2. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    You can handle Job error with job.ErrorMessage
  3. davepamn

    davepamn Active Member Licensed User

    I use that function, but get an "Unknown Error" message
  4. Erel

    Erel Administrator Staff Member Licensed User

    Is there any other message in the logs (before your code)?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice