lua: Print traceback on startup errors
commit0c62831eea5e651577928ef8b09c947565eaed7d
authorUli Schlachter <psychon@znc.in>
Sat, 8 Jun 2013 11:21:14 +0000 (8 13:21 +0200)
committerUli Schlachter <psychon@znc.in>
Sat, 8 Jun 2013 11:21:14 +0000 (8 13:21 +0200)
tree7c10c3c2b0bd8981e4e18ee9ad2b64912fa6cb93
parent14daf85fe91780e4ef49465c94e1cfb671391f0d
lua: Print traceback on startup errors

We do some special magic so that we can have tracebacks on errors messages.
However, the code for parsing the rc.lua called it without this magic and thus
errors didn't have tracebacks.

This is bad, because if something goes wrong in e.g. wibox.widget.textbox, you
don't really have any clue where this error is coming from.

Fix this by adding our "print traceback on error"-magic here, too.

Signed-off-by: Uli Schlachter <psychon@znc.in>
luaa.c