Skip to content

Print script errors to disk if a script is open in external editor #3867

@canny

Description

@canny

If a script is open in the external editor, print errors the client receives to a matching .log file.

This would allow external tooling to pick them up and display them in editor.

In the future with more advanced errors this could include source map support etc.

Suggestion

  • Client receives script error (be it on debug channel, or a compile error)

  • Checks if script the error belongs to is open

  • Checks if that script is open in external editor

  • Appends error to matching file sl_script_<script_name>_<uuid>.luau.log

https://secondlife.canny.io/admin/board/slua-alpha/p/print-script-errors-to-disk-if-a-script-is-open-in-external-editor

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions