mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
Catch std::exception by reference (#20385)
This commit is contained in:
@@ -286,7 +286,7 @@ public:
|
||||
|
||||
Trace::SettingsChanged();
|
||||
}
|
||||
catch (std::exception e)
|
||||
catch (std::exception& e)
|
||||
{
|
||||
Logger::error("Configuration parsing failed: {}", std::string{ e.what() });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user