Suggestions about Lua Error Reports

Share your ideas about possible future content here.
User avatar
dnswodn
Inhabitant of a Megacity
Posts: 246
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Suggestions about Lua Error Reports

#1

Post 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.
Last edited by dnswodn on 20 Nov 2024, 13:49, edited 1 time in total.

User avatar
JustAnyone
Developer
Posts: 3580
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Suggestions about Lua Error Reports

#2

Post by JustAnyone »

Everything gets logged in out.txt, including non-strict Lua errors.

User avatar
Sodor
Metropolitan
Posts: 149
Joined: 06 Sep 2024, 19:37
Location: Alabama, USA
Plugins: Showcase Store
Version: Beta

Platform

Re: Suggestions about Lua Error Reports

#3

Post by Sodor »

;) Hi, Just anyone nice too meet you

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 246
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: Suggestions about Lua Error Reports

#4

Post 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.

User avatar
JustAnyone
Developer
Posts: 3580
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Suggestions about Lua Error Reports

#5

Post by JustAnyone »

Will be added in next update.

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 246
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: Suggestions about Lua Error Reports

#6

Post by dnswodn »

Thank you very much!

Post Reply Previous topicNext topic

Return to “Suggestions”