Suppress XAML Binding Errors in MAUI

NeilN

Posted on
Aug 11 2024

Is it possible to suppress reporting of XAML binding errors for certain views in MAUI?


Jared

Raygun

Posted on
Aug 11 2024

Hello!

There are a few ways you can address this.

  1. Cancel the messages via the SendingMessage event. You can identify the particular error by inspecting the RaygunErrorMessage.
  2. Set up inbound filters. This option is only available for Team plans or above.
  3. As the XAML binding error is actually a warning, you can raise the minimum log level that is reported to Raygun from your ILogger. Note that this will cause you to miss out on other potentially important warnings.

Let us know if you need any help setting up any of these options.


Reply