refactor: validate issuer (url) when retrieving configuration #434
Annotations
1 error and 3 warnings
Run Detekt
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run reviewdog:
library/src/main/java/io/fusionauth/mobilesdk/oauth/OAuthAuthorizationService.kt#L411
[detekt] reported by reviewdog 🐶
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
Raw Output:
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"uri":"library/src/main/java/io/fusionauth/mobilesdk/oauth/OAuthAuthorizationService.kt","uriBaseId":"%SRCROOT%"},"region":{"endColumn":50,"endLine":411,"startColumn":38,"startLine":411}}}],"message":{"text":"The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled."},"ruleId":"detekt.exceptions.TooGenericExceptionCaught"}
|
Run reviewdog:
library/src/main/java/io/fusionauth/mobilesdk/oauth/OAuthAuthorizationService.kt#L411
[detekt] reported by reviewdog 🐶
The caught exception is swallowed. The original exception could be lost.
Raw Output:
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"uri":"library/src/main/java/io/fusionauth/mobilesdk/oauth/OAuthAuthorizationService.kt","uriBaseId":"%SRCROOT%"},"region":{"endColumn":50,"endLine":411,"startColumn":38,"startLine":411}}}],"message":{"text":"The caught exception is swallowed. The original exception could be lost."},"ruleId":"detekt.exceptions.SwallowedException"}
|
Loading