dimanche 1 mai 2016

Job.GetString fails if called script does not return a response (Job.Success=true)

Using okHttp & HttpUtils, today I called a php script and by mistake I forgot to return a result from the script.

So Job.Success was true but Job.GetString failed with "android.system.ErrnoException: open failed: ENOENT (No such file or directory)" which is "ok" -> Job was ok but there is no result.

Am I blind here? I don't see a way to handle this (except try/catch).

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1W1uEbA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire