Merge pull request #3585 from eltociear/patch-1
This commit is contained in:
commit
6560e32bc1
|
@ -204,7 +204,7 @@ void PowerProfilesDaemon::setPropCb(Glib::RefPtr<Gio::AsyncResult>& r) {
|
||||||
auto _ = powerProfilesProxy_->call_finish(r);
|
auto _ = powerProfilesProxy_->call_finish(r);
|
||||||
dp.emit();
|
dp.emit();
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
spdlog::error("Failed to set the the active power profile: {}", e.what());
|
spdlog::error("Failed to set the active power profile: {}", e.what());
|
||||||
} catch (const Glib::Error& e) {
|
} catch (const Glib::Error& e) {
|
||||||
spdlog::error("Failed to set the active power profile: {}", std::string(e.what()));
|
spdlog::error("Failed to set the active power profile: {}", std::string(e.what()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue