The connection to the server was unsucessfull in running app?

i am uploading some date to php server, as i upload data serve throws error but that not issue, the main problem is when app console that error, the connection to server lost so it stopeed printing on console log. still app runs?? how