|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Nov 17, 2008 11:26 pm
[2.37 Lua] Errors should say they're from Lua |
When an error in Lua causes an error popup, it'd be nice if it reported that the problem was from the Lua engine, as opposed to, say, something you did wrong on the command line when you entered an alias. Sometimes it can be hard to tell.
|
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Mon Nov 17, 2008 11:27 pm |
Oi! I Agree, I would hate that!
|
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Nov 17, 2008 11:29 pm |
Well, it mentions the line number, and the error messages are the same error messages that everything else that uses Lua gives, so you can sometimes tell, but it'd be nice to know for sure.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Nov 18, 2008 12:01 am |
I'd need some specific examples to help more with this.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Nov 18, 2008 1:26 am |
assert(nil,"lol!")
There's nothing in there that says the error is from Lua, that's all I mean. |
|
|
|
|
|