Couldn't upload to server: messages

There you are uploading to your server and then it hangs. A little dialogue drops down saying upload finished but underneath there is another line that says couldn’t upload to server. The programme hangs and I have to force quit.
In previous versions I think it used to say it just couldn’t upload. The double message now is so confusing. Because just occasionally it has actually uploaded most of the changes even though it hangs at couldn’t upload. I guess more importantly why does the programme crash at that point? Why is not clear exactly what is happened? Something like ‘connection dropped couldn’t finish uploading’ or ‘Upload completely successful’ would make it more transparent.