Skip to content

[Bug] Show Request reference in script stacktraces #531

Description

@Xarno

Description

If a scrip errors you get currently this:

at new AsyncFunction () at self.onmessage ([worker eval]:114:20) at MessagePort. ([worker eval]:3:82) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:845:20) at MessagePort. (node:internal/per_context/messageport:23:28)

Steps to Reproduce

Have a broken pre or post request script

Expected Behavior

Add the request name and the origin (per-request, post-request, maybe others?) to the stack print output.
Like this:

at pre request (line number possible?)
at CleanupDeleteCalendarEntryNotificationsUser1 
at new AsyncFunction (<anonymous>)
at self.onmessage ([worker eval]:114:20)
at MessagePort.<anonymous> ([worker eval]:3:82)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:845:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)

Environment

Mac,
Voiden 2.3. beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingup-for-grabsIdeal for new contributors.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions