Scribe-Android
Scribe-Android copied to clipboard
Fix linting issue due to Too Generic Exception Caught
Terms
- [X] I have searched open and closed feature requests
- [X] I agree to follow Scribe-Android's Code of Conduct
Description
The TooGenericExceptionCaught rule is currently disabled. This rule helps in detecting overly generic exception handling, which can obscure errors. Re-enabling this rule will help improve error handling practices.
Steps to see which lines have to be modified:
- Comment or set to true the following line in
detekt.yml:exceptions: TooGenericExceptionCaught: active: true - Run the command
./gradlew detekt. - Review the results to identify overly generic exception catches that need attention.
Contribution
I would love to work on this issue and am more than willing to help anyone fix this issue. :)