Scribe-Android
Scribe-Android copied to clipboard
Fix linting issues due to Empty Catch Block
Terms
- [X] I have searched open and closed feature requests
- [X] I agree to follow Scribe-Android's Code of Conduct
Description
The EmptyCatchBlock rule is currently disabled. This rule helps detect empty catch blocks, which can lead to unnoticed errors. Re-enabling this rule will help ensure proper error handling.
Steps to see which lines have to be modified:
- Comment or set to true the following line in
detekt.yml:empty-blocks: EmptyCatchBlock: active: true - Run the command
./gradlew detekt. - Review the results to identify any empty catch blocks that need addressing.
Contribution
I would love to work on this issue and am more than willing to help anyone fix this issue. :)