mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-11-07 09:47:18 +01:00
Adjust the code to use the .what() method from the Sqrat exception.
This commit is contained in:
@@ -127,7 +127,7 @@ Int32 ConnHnd::Flush(Uint32 num, Object & env, Function & func)
|
||||
}
|
||||
catch (const Sqrat::Exception & e)
|
||||
{
|
||||
SqMod_LogErr("Squirrel error caught in flush handler [%s]", e.Message().c_str());
|
||||
SqMod_LogErr("Squirrel error caught in flush handler [%s]", e.what());
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user