Skip to content

Commit

Permalink
Update validation processor error output to include exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedawson committed May 26, 2024
1 parent 10a41e1 commit 9e821ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ plugins {


group 'com.github.UstadMobile.door'
version '0.78'
version '0.79'

ext.localProperties = new Properties()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ class DoorValidatorProcessor(
}
}catch(e: Exception) {
logger.error(
"Error running query for DAO function \nquery='$query'," +
"\nran='$queryWithQuestionPlaceholders'\n ",
"Error running query for DAO function: ${e.message ?: ""}\n" +
"Query='$query',\n" +
"\nRan='$queryWithQuestionPlaceholders'\n ",
queryFunDecl
)
if(e !is SQLException) {
Expand Down

0 comments on commit 9e821ef

Please sign in to comment.