You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a related pull request, we may have spotted a bug. The bug causes the exceptions to be ignored silently inside the event handler.
To illustrate the problem, here's an example:
var util = require("util");
var udev = require("./udev.js");
var monitor = udev.monitor();
monitor.on('add', function (device) {
console.log(device.DEVPATH + " added");
throw new Error("Trycatch?");
});
The above example should result in an error logged, similar to the following program:
setTimeout(function(){
console.log("timeout");
throw new Error("Trycatch?");
}, 1);
There should be a handler in Node.js runtime that implements the behavior, it should be added into on_handle_event to resolve this issue.
The text was updated successfully, but these errors were encountered:
In a related pull request, we may have spotted a bug. The bug causes the exceptions to be ignored silently inside the event handler.
To illustrate the problem, here's an example:
The above example should result in an error logged, similar to the following program:
There should be a handler in Node.js runtime that implements the behavior, it should be added into on_handle_event to resolve this issue.
The text was updated successfully, but these errors were encountered: