zhangjinkun 9 years ago
parent
commit
86e7d65d56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/src/github.com/yuin/gopher-lua/state.go

+ 1 - 1
common/src/github.com/yuin/gopher-lua/state.go

@@ -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...)
 }