add missing errorMsg, if XML file is broken

Change-Id: Ied65747172adae0ad3cfb49382533f869ceb81d5
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
fix a crash while testing a unresponsive server

Change-Id: I7fdc44a8ca822ea2145c9867a348f8462b894068
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>