diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-08-22 03:41:39 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-08-22 13:11:38 +0200 |
commit | 59b889008760325845aeb04b7ac3fad5e1068c0f (patch) | |
tree | 77f42c8258f39d001cef07e5f7d039e53cec512e /src/scripting/script.cpp | |
parent | 6f122fd544e0c77cc6c38a294a353d7bd4accf9d (diff) | |
download | manaserv-59b889008760325845aeb04b7ac3fad5e1068c0f.tar.gz manaserv-59b889008760325845aeb04b7ac3fad5e1068c0f.tar.bz2 manaserv-59b889008760325845aeb04b7ac3fad5e1068c0f.tar.xz manaserv-59b889008760325845aeb04b7ac3fad5e1068c0f.zip |
Print out a backtrace when a Lua error is raised
The backtrace is printed by using debug.traceback as error handler when
calling Lua functions. At the moment it still looks pretty ugly since
Lua is not aware of the file names of the scripts (to be fixed).
Reviewed-by: Jared Adams
Diffstat (limited to 'src/scripting/script.cpp')
0 files changed, 0 insertions, 0 deletions