Merge pull request #3585 from eltociear/patch-1

This commit is contained in:
Alexis Rouillard 2024-09-10 07:37:16 +02:00 committed by GitHub
commit 6560e32bc1
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()));
} }