lune-org/lune

Source file is being included in error messages instead of only stack trace

Opened this issue · 0 comments

Example:

[string "Lists.spec"]:201: attempt to index boolean with 'match'
[Stack Begin]
    Script 'Lists.spec', Line 201
    Script 'Lists.luau', Line 400
    Script 'Lists.luau', Line 333
    ...
[Stack End]

Including the source file on the first line with the message here is redundant, and makes the error message more difficult to read. In previous versions of Lune this was stripped away but it seems like this is no longer the case.