mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Capture duplicate error exception
This commit is contained in:
@@ -36,7 +36,11 @@ abstract class ActionNodeDatabaseRunnable(
|
|||||||
abstract fun nodeAction()
|
abstract fun nodeAction()
|
||||||
|
|
||||||
override fun onStartRun() {
|
override fun onStartRun() {
|
||||||
nodeAction()
|
try {
|
||||||
|
nodeAction()
|
||||||
|
} catch (e: Exception) {
|
||||||
|
setError(e)
|
||||||
|
}
|
||||||
super.onStartRun()
|
super.onStartRun()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user