Skip to content

Commit

Permalink
StartActivity.kt: log database load error too
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Dec 20, 2022
1 parent 8df8ad5 commit 264b59e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/kotlin/d/d/meshenger/StartActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class StartActivity : BaseActivity(), ServiceConnection {
} catch (e: Database.WrongPasswordException) {
// ignore and continue with initialization
} catch (e: Exception) {
Log.e(this, "${e.message}")
Toast.makeText(this, e.message, Toast.LENGTH_SHORT).show()
finish()
return
Expand Down

0 comments on commit 264b59e

Please sign in to comment.