Catch all exceptions during initialization

This commit is contained in:
Robbert van der Helm
2021-05-01 18:48:46 +02:00
parent 5c2da36ecd
commit bbc93d7413
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ __cdecl
return 1;
break;
};
} catch (const std::runtime_error& error) {
} catch (const std::exception& error) {
std::cerr << "Error while initializing the Wine plugin host:"
<< std::endl;
std::cerr << error.what() << std::endl;