Skip to content
Snippets Groups Projects
  • ShadowNinja's avatar
    9269a0ec
    Fix server crashing on Lua errors · 9269a0ec
    ShadowNinja authored
    Previously, the server called FATAL_ERROR when a Lua error occured.
    This caused a (mostly useless) core dump.
    The server now simply throws an exception, which is caught and printed before
    exiting with a non-zero return value.
    This also fixes a number of instances where errors were logged multiple times.
    9269a0ec
    History
    Fix server crashing on Lua errors
    ShadowNinja authored
    Previously, the server called FATAL_ERROR when a Lua error occured.
    This caused a (mostly useless) core dump.
    The server now simply throws an exception, which is caught and printed before
    exiting with a non-zero return value.
    This also fixes a number of instances where errors were logged multiple times.
mods.h 5.06 KiB