Print a message if we fail to get a PID
This commit is contained in:
parent
305309dcb1
commit
09850702cf
1 changed files with 5 additions and 0 deletions
|
|
@ -457,6 +457,11 @@ class DebugSession( object ):
|
||||||
'utf-8' ).strip()
|
'utf-8' ).strip()
|
||||||
self._logger.debug( 'Got PID: %s', pid )
|
self._logger.debug( 'Got PID: %s', pid )
|
||||||
|
|
||||||
|
if not pid:
|
||||||
|
# FIXME: We should raise an exception here or something
|
||||||
|
utils.UserMessage( 'Unable to get PID', persist = True )
|
||||||
|
return
|
||||||
|
|
||||||
cmd = ssh + remote[ 'attachCommand' ][:]
|
cmd = ssh + remote[ 'attachCommand' ][:]
|
||||||
|
|
||||||
for index, item in enumerate( cmd ):
|
for index, item in enumerate( cmd ):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue