Find all catch blocks
catch\s*\(\w*\s*(.*\w)*\)\s*\b*\n*\{
Replace with
$&\n\t\t\tlogerror($1);
Here logerror(); is the method which captures the logs. The method errorlog can be called.
Blog is about ASP.NET, Web Services, Programming Language problems which are faced by a developer in routine work. Motive is to solve all the major problems related to the daily development work. Blog features latest technologies and solutions to the most typical problems. Contact me on LinkedIn https://www.linkedin.com/in/riteshtandon23/
I was facing an issue of dom parsing in my website. I finally resolved it by using Google Captcha V3. Step 1: Get your keys from https:...
No comments:
Post a Comment
Comments are welcome, Please join me on my Linked In account
http://in.linkedin.com/pub/ritesh-tandon/21/644/33b