Detailed Errors

When you are developing your website, it's a good idea to enable detailed errors. You do this by adding two entries in your appSettings (Development preferably).

Enable ZauberCMS Detailed Errors

In your appSettings, within the ZauberCMS root section, set ShowDetailedErrors to true

"Zauber": {
  "ShowDetailedErrors": "true"
}

Enable Blazor Detailed Errors

Then within the appSettings (Again, Development preferably) add DetailedErrors and set it to true in the root like so.

{
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "DetailedErrors": true
}

Do not have these set to true in production/live as they will potentially give away sensitive data in your app.

Last updated