Skip to content

Commit

Permalink
Fix minor syntax bug
Browse files Browse the repository at this point in the history
  • Loading branch information
maesenka committed Oct 29, 2024
1 parent 6c473f1 commit 2841be4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,8 @@ public SQLExceptionConversionDelegate buildSQLExceptionConversionDelegate() {
return switch (sqlState) {
// Serialization Exception
case "40001" -> message.contains("WriteTooOldError")
? new TransactionSerializationException( message, sqlException, sql );
: null;
? new TransactionSerializationException( message, sqlException, sql )
: null;
// DEADLOCK DETECTED
case "40P01" -> new LockAcquisitionException( message, sqlException, sql );
// LOCK NOT AVAILABLE
Expand Down

0 comments on commit 2841be4

Please sign in to comment.