NOISSUE add more logging when java checker fails to start

This commit is contained in:
Petr Mrázek 2021-10-25 12:00:25 +02:00
parent f11d68e2a2
commit 040af58070

View File

@ -142,8 +142,12 @@ void JavaChecker::error(QProcess::ProcessError err)
{ {
if(err == QProcess::FailedToStart) if(err == QProcess::FailedToStart)
{ {
killTimer.stop();
qDebug() << "Java checker has failed to start."; qDebug() << "Java checker has failed to start.";
qDebug() << "Process environment:";
qDebug() << process->environment();
qDebug() << "Native environment:";
qDebug() << QProcessEnvironment::systemEnvironment().toStringList();
killTimer.stop();
JavaCheckResult result; JavaCheckResult result;
{ {
result.path = m_path; result.path = m_path;