mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-02 06:42:54 -08:00
fix: Show error #2701
This commit is contained in:
1 file changed
+8
-4
@@ -60,10 +60,14 @@ abstract class ActionRunnable: Runnable {
|
||||
}
|
||||
|
||||
protected fun setError(exception: Exception) {
|
||||
result.isSuccess = false
|
||||
result.exception = null
|
||||
result.message = exception.message
|
||||
showLog()
|
||||
if (exception is DatabaseException) {
|
||||
setError(exception)
|
||||
} else {
|
||||
result.isSuccess = false
|
||||
result.exception = null
|
||||
result.message = exception.message
|
||||
showLog()
|
||||
}
|
||||
}
|
||||
|
||||
protected fun setError(exception: DatabaseException) {
|
||||
|
||||
Reference in new issue
Block a user