sherlock icon indicating copy to clipboard operation
sherlock copied to clipboard

Replace silent exception handling

Open dollaransh17 opened this issue 2 months ago • 0 comments

So in this I have improved debugging capabilities by replacing silent exception handlers that were hiding potential issues during development.

Changes:

  • Replace 'except Exception: pass' with informative warning messages
  • Show specific error details when response code extraction fails
  • Show specific error details when response text extraction fails

Impact:

  • Developers can now see what's going wrong in debug mode
  • Fixes Bandit security warning B110 (try_except_pass)
  • Improves troubleshooting when --dump-response flag is used
  • Maintains backward compatibility while providing better visibility

This only affects debug output when using --dump-response, so it won't impact normal user experience..

dollaransh17 avatar Oct 03 '25 08:10 dollaransh17