sherlock
sherlock copied to clipboard
Replace silent exception handling
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..