Print server stderr to the GUI

This commit is contained in:
Ben Jackson 2019-01-12 15:12:52 +00:00
commit e573c2fd9f
3 changed files with 20 additions and 7 deletions

View file

@ -189,6 +189,11 @@ class DebugSession( object ):
if self._connection:
self._connection.OnData( data )
def OnServerStderr( self, data ):
self._logger.info( "Server stderr: %s", data )
if self._outputView:
self._outputView.ServerEcho( data )
def OnRequestTimeout( self, timer_id ):
if self._connection:
self._connection.OnRequestTimeout( timer_id )