Skip to content

Conversation

dollaransh17
Copy link
Contributor

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..

… warnings

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..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant