mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5036 Octave : Simplify error message
This commit is contained in:
parent
2b21a37f0d
commit
b013475fa8
@ -65,13 +65,7 @@ RiaSocketServer::RiaSocketServer( QObject* parent )
|
|||||||
|
|
||||||
if ( !m_tcpServer->listen( QHostAddress::LocalHost, 40001 ) )
|
if ( !m_tcpServer->listen( QHostAddress::LocalHost, 40001 ) )
|
||||||
{
|
{
|
||||||
QString txt;
|
QString txt = "Disabled communication with Octave due to another ResInsight process running.";
|
||||||
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() );
|
|
||||||
|
|
||||||
RiaLogging::error( txt );
|
RiaLogging::error( txt );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user