|
@@ -1305,7 +1305,7 @@ func (ls *LState) ToThread(n int) *LState {
|
|
|
|
|
|
// This function is equivalent to luaL_error( http://www.lua.org/manual/5.1/manual.html#luaL_error ).
|
|
|
func (ls *LState) RaiseError(format string, args ...interface{}) {
|
|
|
- log.Println("Pop 出错,脚本名称", ls.ScriptFileName)
|
|
|
+ log.Println("Pop 出错,脚本名称", ls.ScriptFileName, ls.where(0, true))
|
|
|
//ls.raiseError(1, format, args...)
|
|
|
}
|
|
|
|