1
0
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:
Sandu Liviu Catalin
2016-07-09 14:18:09 +03:00
parent 862c09150f
commit 7bb0d5f947
12 changed files with 37 additions and 37 deletions

View File

@ -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) /*
*/ { /*