mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +01:00
Show a proper debug trace when catching squirrel exceptions at the event entry level.
This commit is contained in:
parent
44d6905d3b
commit
dfbb0b9c46
@ -66,12 +66,11 @@ void DoReload()
|
||||
*/ catch (const Sqrat::Exception & e) /*
|
||||
*/ { /*
|
||||
*/ LogErr("Squirrel exception caught (" #ev ") event"); /*
|
||||
*/ LogInf("Message: %s", e.what()); /*
|
||||
*/ Logger::Get().Debug("%s", e.what()); /*
|
||||
*/ } /*
|
||||
*/ catch (const std::exception & e) /*
|
||||
*/ { /*
|
||||
*/ LogErr("Program exception caught (" #ev ") event"); /*
|
||||
*/ LogInf("Message: %s", e.what()); /*
|
||||
*/ LogErr("Program exception caught (" #ev ") event [%s]", e.what()); /*
|
||||
*/ } /*
|
||||
*/ catch (...) /*
|
||||
*/ { /*
|
||||
|
Loading…
x
Reference in New Issue
Block a user