chore: update power_profiles_daemon.cpp
minor fix
This commit is contained in:
committed by
GitHub
parent
5d184f74d8
commit
70f3c1d9e9
@ -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()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user