Filter on exception text in elmah

前端 未结 2 379
青春惊慌失措
青春惊慌失措 2021-01-01 04:00

Is there a way to filter exceptions in elma using the exception message?

Examples:
\"System.Web.HttpException: Request timed out.\" I don\'t want to filter out a

2条回答
  •  Happy的楠姐
    2021-01-01 04:09

    Yes you can. Just use a regular expression to interrogate the message. See the example below for details on how to compare the exception message.

    
      
        
        
          
          
          
        
      
    
    

提交回复
热议问题