forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user