thingsdb / ThingsDB

Node - The ThingsDB Core
https://thingsdb.io
GNU General Public License v3.0
41 stars 3 forks source link

Error with debug logging in case a task is removed with an error #384

Closed joente closed 4 months ago

joente commented 4 months ago

Describe the bug This only occurs if debug logging is enabled, and task.del() is called, and the task returns with an error.

To Reproduce Enable debug logging.

.t = task(datetime(), |t| {
    t.del();
    1/0;
});

Expected behavior Some logging should be displayed.