Skip to content

Mention nil+errors in debug console #4559

@vadi2

Description

@vadi2

Brief summary of issue / Description of requested feature:

Sparkled by @Delwing's idea in #4558 (comment), anytime we return nil+error message in Lua, we should also mention the error message in the Debug console.

Steps to reproduce the issue / Reasons for adding feature:

Easier discoverability of errors. I think very few people actually check the status of functions.

Error output / Expected result of feature

Should be easier for people to find faults with the scripts. I know the Debug console is pretty spammy - that won't help that problem - but it won't hurt either.

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions