mirror of
https://github.com/corda/corda.git
synced 2025-06-16 14:18:20 +00:00
ENT-1837 better error message on db failure (#3318)
This commit is contained in:
@ -264,4 +264,6 @@ private fun Throwable.hasSQLExceptionCause(): Boolean =
|
||||
null -> false
|
||||
is SQLException -> true
|
||||
else -> cause?.hasSQLExceptionCause() ?: false
|
||||
}
|
||||
}
|
||||
|
||||
class CouldNotCreateDataSourceException(override val message: String?, override val cause: Throwable? = null) : Exception()
|
Reference in New Issue
Block a user