[libcalamares] Use convenience Logger::NoQuote
This commit is contained in:
parent
6de82e6857
commit
86ffab1873
@ -195,7 +195,7 @@ System::runCommand( System::RunLocation location,
|
||||
? ( static_cast< int >( std::chrono::milliseconds( timeoutSec ).count() ) )
|
||||
: -1 ) )
|
||||
{
|
||||
( cWarning() << "Process" << args.first() << "timed out after" << timeoutSec.count() << "s. Output so far:\n" ).noquote().nospace() << process.readAllStandardOutput();
|
||||
cWarning() << "Process" << args.first() << "timed out after" << timeoutSec.count() << "s. Output so far:\n" << Logger::NoQuote{} << process.readAllStandardOutput();
|
||||
return ProcessResult::Code::TimedOut;
|
||||
}
|
||||
|
||||
@ -203,7 +203,7 @@ System::runCommand( System::RunLocation location,
|
||||
|
||||
if ( process.exitStatus() == QProcess::CrashExit )
|
||||
{
|
||||
( cWarning() << "Process" << args.first() << "crashed. Output so far:\n" ).noquote().nospace() << output;
|
||||
cWarning() << "Process" << args.first() << "crashed. Output so far:\n" << Logger::NoQuote{} << output;
|
||||
return ProcessResult::Code::Crashed;
|
||||
}
|
||||
|
||||
@ -212,7 +212,7 @@ System::runCommand( System::RunLocation location,
|
||||
bool showDebug = ( !Calamares::Settings::instance() ) || ( Calamares::Settings::instance()->debugMode() );
|
||||
if ( ( r != 0 ) || showDebug )
|
||||
{
|
||||
( cDebug() << "Target cmd:" << RedactedList( args ) << "output:\n" ).noquote().nospace() << output;
|
||||
cDebug() << "Target cmd:" << RedactedList( args ) << "output:\n" << Logger::NoQuote{} << output;
|
||||
}
|
||||
return ProcessResult( r, output );
|
||||
}
|
||||
|
@ -538,7 +538,7 @@ Branding::initSimpleSettings( const YAML::Node& doc )
|
||||
[[noreturn]] void
|
||||
Branding::bail( const QString& message )
|
||||
{
|
||||
cError() << "FATAL in" << m_descriptorPath << "\n" + message;
|
||||
cError() << "FATAL in" << m_descriptorPath << Logger::Continuation << Logger::NoQuote{} << message;
|
||||
::exit( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user