Better error reporting in CreatePartitionTableJob.cpp

This commit is contained in:
Teo Mrnjavac 2014-11-23 11:46:16 +01:00
parent 5967917fb5
commit da0afd6e55

View File

@ -68,8 +68,12 @@ CreatePartitionTableJob::exec()
if ( !ok )
{
return Calamares::JobResult::error(
message,
report.toText()
message,
QString( "Text: %1\nCommand: %2\nOutput: %3\nStatus: %4" )
.arg( report.toText() )
.arg( report.command() )
.arg( report.output() )
.arg( report.status() )
);
}