Capturing Exceptions in Prefix
  • 1 Minute to read
  • Dark
    Light
  • PDF

Capturing Exceptions in Prefix

  • Dark
    Light
  • PDF

Article summary

By default, Prefix will only capture unhandled exceptions for a request. In order to capture handled exceptions as well, you will need to set the following configuration in a Stackify.json file:
"CaptureAllExceptions": true

{
"AppName": "MyApp",
"Environment": "MyEnvironment",
"CaptureAllExceptions": true
}

This will allow for all exceptions, both unhandled and handled, to show up inline within your requests
prefix.exceptions.png


Was this article helpful?