Page 1 of 1

Suggestions about Lua Error Reports

Posted: 18 Nov 2024, 18:10
by dnswodn
Hello!
Here are my suggestions about Make the Non-Major Lua Error Reports Easier to Check.

First of all, I found that some Lua errors don't cause any crashes, they are just "quiet", I think the reason might be they are not major errors. But it also causes some problems.

My experience:
Sometimes I write some codes for something like a button, but when I click the button(namely execute the code), nothing happens. No crashes, no toasts. And then I have to check the log to get the error report and correct my mistakes. So I think it is necessary to make the Lua error report easier to check. Because usually the lines of the log get really crazy, it will be hard to check.

My suggestions:
  1. Move the Non-Major Lua Error Reports to crash.txt or error.log.
  2. I think it is also nice to make a new .txt or .log file for the Lua Error Reports.
That is all, thanks for reading.

Re: Suggestions about Lua Error Reports

Posted: 18 Nov 2024, 20:21
by JustAnyone
Everything gets logged in out.txt, including non-strict Lua errors.

Re: Suggestions about Lua Error Reports

Posted: 18 Nov 2024, 21:54
by Sodor
;) Hi, Just anyone nice too meet you

Re: Suggestions about Lua Error Reports

Posted: 19 Nov 2024, 14:08
by dnswodn
JustAnyone wrote:
18 Nov 2024, 20:21
Everything gets logged in out.txt, including non-strict Lua errors.
Actually I am on iOS mobile, and there is not an out.txt file in my TheoTown folder. Could you please consider adding it? It will help a lot.

Re: Suggestions about Lua Error Reports

Posted: 19 Nov 2024, 16:19
by JustAnyone
Will be added in next update.

Re: Suggestions about Lua Error Reports

Posted: 19 Nov 2024, 17:52
by dnswodn
Thank you very much!