[libcalamares] More chatty when DBus fails

This commit is contained in:
Adriaan de Groot 2022-02-28 11:29:45 +01:00
parent 5b40f17b9c
commit f2a6736883

View file

@ -99,6 +99,10 @@ querySolidAutoMount( QDBusConnection& dbus, AutoMountInfo& info )
result = v.toBool();
}
}
if ( !r.has_value() )
{
cDebug() << "No viable response from Solid" << r.path();
}
}
else
{
@ -119,6 +123,7 @@ automountDisable( bool disable )
querySolidAutoMount( dbus, *info );
if ( info->hasSolid )
{
cDebug() << "Setting Solid automount to" << ( disable ? "disabled" : "enabled" );
enableSolidAutoMount( dbus, !disable );
}