All exceptions are marked as handled #669
              
                Unanswered
              
          
                  
                    
                      Jamesking56
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| We do expose a global  -- As the Symfony SDK uses  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We have an issue where Sentry is reporting (and alerting) us to exceptions that we are handling in the code. We don't care about those, we only want to know about unhandled exceptions.
So, I'm attempting to add a Sentry filter to filter out all of the handled exceptions by checking
$exception->getMechanism()->isHandled().The problem I have though, is that every single exception thrown thinks it has been handled... regardless whether is has been caught or not.
Any ideas why this would be happening and how to stop it?
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions