Trace.EnableErrorNotifications
------------------------------

Enable error notifications.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Trace](component_Trace.md) | [5.0](newinversion50.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Trace.EnableErrorNotifications" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Enable error notifications.  
The plugin presents errors returned by plugin calls as notifications, so you more easier notice them.  
Notifications are only presented at most one per 30 seconds. They are not shown if last error is same as new error or if you run plugin on server or runtime. The plugin will close error notifications after 5 seconds.  
See also [Trace.DisableErrorNotifications](TraceDisableErrorNotifications.md) or [Trace.AreErrorNotificationsEnabled](TraceAreErrorNotificationsEnabled.md).  
### See also

- [Trace.AreErrorNotificationsEnabled](TraceAreErrorNotificationsEnabled.md)
- [Trace.DisableErrorNotifications](TraceDisableErrorNotifications.md)

### Example Databases

- [Registration/Debugging and Registration](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Registration/Debugging%20and%20Registration.shtml#1Button66.0000000319.000000096.0000000479.0000000LayoutObjectAnchor_)

### Blog Entries

- [Watching for Errors with MBS Plugin](https://www.mbsplugins.de/archive/2021-03-18/Watching_for_Errors_with_MBS_P/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin debugging help](https://www.mbsplugins.de/archive/2015-02-27/MBS_FileMaker_Plugin_debugging/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 5.0 for OS X/Windows - More than 3000 Functions In One Plugin](https://www.mbsplugins.de/archive/2015-02-24/MBS_FileMaker_Plugin_50_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 4.5pr4](https://www.mbsplugins.de/archive/2014-12-19/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 11st December 2014 , last changed 28th March 2021

  
[Trace.DisableErrorNotifications](TraceDisableErrorNotifications.md) - [Trace.GetErrorsOnly](TraceGetErrorsOnly.md)

[HTML Version](TraceEnableErrorNotifications.shtml)