#NEWLINE# def _on_process_error( self , error ) : #NEWLINE# #INDENT# ' Logs process error ' #NEWLINE# if ( error not in PROCESS_ERROR_STRING ) : #NEWLINE# #INDENT# error = ( - 1 ) #NEWLINE# #UNINDENT# if ( not self . _prevent_logs ) : #NEWLINE# #INDENT# _logger ( ) . warning ( PROCESS_ERROR_STRING [ error ] )