chore: update power_profiles_daemon.cpp

minor fix
This commit is contained in:
Ikko Eltociear Ashimine 2024-09-10 01:16:42 +09:00 committed by GitHub
parent 5d184f74d8
commit 70f3c1d9e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()));
} }