mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-03 07:27:11 +02:00
Adjust the code to use the .what() method from the Sqrat exception.
This commit is contained in:
@ -76,7 +76,7 @@ void UnbindCallbacks();
|
||||
*/ catch (const Sqrat::Exception & e) /*
|
||||
*/ { /*
|
||||
*/ LogErr("Squirrel exception caught (" #ev ") event"); /*
|
||||
*/ LogInf("Message: %s", e.Message().c_str()); /*
|
||||
*/ LogInf("Message: %s", e.what()); /*
|
||||
*/ } /*
|
||||
*/ catch (const std::exception & e) /*
|
||||
*/ { /*
|
||||
|
Reference in New Issue
Block a user