Allow Automatic Handling
If enabled, Nexys will automatically handle errors and unhandled rejections and add them to the logPool.
Option | Type | Default |
---|---|---|
allowAutomaticHandling | boolean | true |
Example
// This code will disable automatic handling feature.
const nexys = new Nexys("API_KEY", {
appName: "APP_NAME",
errors: {
allowAutomaticHandling: false
}
});