Scribe-Android icon indicating copy to clipboard operation
Scribe-Android copied to clipboard

Fix linting issues due to Empty Catch Block

Open angrezichatterbox opened this issue 1 year ago • 0 comments

Terms

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:

  1. Comment or set to true the following line in detekt.yml:
    empty-blocks:
        EmptyCatchBlock:
            active: true
    
  2. Run the command ./gradlew detekt.
  3. 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. :)

angrezichatterbox avatar Sep 18 '24 10:09 angrezichatterbox