fix: Show error #2701

This commit is contained in:
J-Jamet committed 2026-09-10 15:11:41 +02:00
1 parent 18abbda4b7
commit e692f30f15
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) {