Debugger: Describe right SBError for failed remote-android connection

It is the result of the previously attempted SBPlatform.ConnectRemote()
which we want to see in the logs if the connection fails.

Change-Id: Iec2760257eb8bb8c6b1df8aa3a5c010302966c8f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2021-12-15 18:52:06 +01:00
parent 44407e404b
commit 16ced8a7d6

View File

@@ -933,7 +933,7 @@ class Dumper(DumperBase):
self.target.GetPlatform().GetName(),
self.target.GetPlatform().IsConnected()))
if not res.Success():
self.report(self.describeError(error))
self.report(self.describeError(res))
self.reportState('enginerunfailed')
return