Skip to content

Commit

Permalink
chore: cleanup code detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
yamilmedina committed Nov 22, 2024
1 parent d30f5b8 commit f57a1c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class ProteusClientCoreCryptoImpl private constructor(
if (cryptoBoxFilesExists(File(rootDir))) {
kaliumLogger.i("migrating from crypto box at: $rootDir")
coreCrypto.proteusCryptoboxMigrate(rootDir)
@Suppress("TooGenericExceptionThrown") // remove this, before merging, just for testing.
throw RuntimeException("Some dummy exception for this block") // remove this, before merging, just for testing.
kaliumLogger.i("migration successful")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ enum class LogoutReason {
* The migration to CC failed.
* This will trigger a cleanup of the local client data and prepare for a fresh start without losing data.
*/
MIGRATION_TO_CC_FAILED;
MIGRATION_TO_CC_FAILED
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ enum class LogoutReason {
/**
* The migration to CC failed.
*/
MIGRATION_TO_CC_FAILED;
MIGRATION_TO_CC_FAILED
}

0 comments on commit f57a1c6

Please sign in to comment.