Skip to content

You can overwrite the error display code #2942

@Sava-thecoolone

Description

@Sava-thecoolone

you can do this:

debug.traceback = function() return "Is this intentional?" end
r = nil
trace(r[1])   -- crashes with error "Is this intentional?"

or, alternatively:

debug = nil
r = nil
trace(r[1])   -- crashes with error "error in error handling"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions