From b013475fa8ddbd172192cb08cd4e5ae5540c0505 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 18 Dec 2019 08:34:04 +0100 Subject: [PATCH] #5036 Octave : Simplify error message --- ApplicationCode/SocketInterface/RiaSocketServer.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ApplicationCode/SocketInterface/RiaSocketServer.cpp b/ApplicationCode/SocketInterface/RiaSocketServer.cpp index c1b8942cc9..54c35d61aa 100644 --- a/ApplicationCode/SocketInterface/RiaSocketServer.cpp +++ b/ApplicationCode/SocketInterface/RiaSocketServer.cpp @@ -65,13 +65,7 @@ RiaSocketServer::RiaSocketServer( QObject* parent ) if ( !m_tcpServer->listen( QHostAddress::LocalHost, 40001 ) ) { - QString txt; - txt = "This instance of ResInsight could not start the Socket Server enabling octave to get and set data.\n " - "This is probably because you already have a running ResInsight process.\n" - "Octave can only communicate with one ResInsight process at a time, so the Octave\n" - "communication in this ResInsight instance will be disabled.\n" - "\n" + - tr( "The error from the socket system is: %1." ).arg( m_tcpServer->errorString() ); + QString txt = "Disabled communication with Octave due to another ResInsight process running."; RiaLogging::error( txt );