Skip to content

TaskDispatcher don't catch exceptions made by action #87

Description

@sunnamed434

There were some reports that if any queued task gets an exception and is not handled by try catch then other actions just won't be called

Stacktrace example

[2024-06-18 09:51:22] NullReferenceException: Object reference not set to an instance of an object
[2024-06-18 09:51:22] Anomoly.ChatTags.ChatTagsPlugin+<>cDisplayClass9_1.<Events_OnPlayerConnected>b1 () (at <748a75434684406c8f80f0a4f765448d>:0)
Rocket.Core.Utils.TaskDispatcher.FixedUpdate () (at <09b6a6e399e5417eb969381ca3201ce1>:0)

Problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions