Better error message.

main
Teo Mrnjavac 11 years ago
parent 1dca92947c
commit 51e5976a99

@ -57,7 +57,7 @@ ProcessJob::exec()
// It's ok to block here because JobQueue runs this method in a separate thread. // It's ok to block here because JobQueue runs this method in a separate thread.
if ( !p.waitForStarted() ) if ( !p.waitForStarted() )
return JobResult::error( tr( "External command failed to start" ), return JobResult::error( tr( "External command failed to start" ),
tr( "Command %1 failed to start in 30s." ) tr( "Command %1 failed to start." )
.arg( m_command ) ); .arg( m_command ) );
if ( !p.waitForFinished( m_timeoutSec * 1000/*msec*/ ) ) if ( !p.waitForFinished( m_timeoutSec * 1000/*msec*/ ) )

Loading…
Cancel
Save