mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Use exception logger for the memory locking error
This commit is contained in:
@@ -54,8 +54,11 @@ bool InitModule() {
|
||||
return true;
|
||||
} catch (const std::exception& error) {
|
||||
Logger logger = Logger::create_exception_logger();
|
||||
|
||||
logger.log("");
|
||||
logger.log("Error during initialization:");
|
||||
logger.log(error.what());
|
||||
logger.log("");
|
||||
|
||||
// Also show a desktop notification most people likely won't see the
|
||||
// above message
|
||||
|
||||
Reference in New Issue
Block a user