mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Catch std::exception by reference (#20385)
This commit is contained in:
@@ -102,7 +102,7 @@ namespace package {
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (std::exception e)
|
||||
catch (std::exception& e)
|
||||
{
|
||||
Logger::error("Exception thrown while trying to register package: {}", e.what());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user