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

Fix linting issue due to Too Generic Exception Caught

Open angrezichatterbox opened this issue 1 year ago • 0 comments

Terms

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:

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

angrezichatterbox avatar Sep 18 '24 10:09 angrezichatterbox