Skip to content

Commit 96daad9

Browse files
committed
Fix!
1 parent 0b94fde commit 96daad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database-commons/src/main/java/io/cdap/plugin/db/DBErrorDetailsProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private ProgramFailureException getProgramFailureException(SQLException e, Error
7676
errorMessageWithDetails = String.format("%s For more details, see %s", errorMessageWithDetails,
7777
externalDocumentationLink);
7878
}
79-
return ErrorUtils.getProgramFailureException(!Strings.isNullOrEmpty(sqlState) ?
79+
return ErrorUtils.getProgramFailureException(Strings.isNullOrEmpty(sqlState) ?
8080
new ErrorCategory(ErrorCategory.ErrorCategoryEnum.PLUGIN) : getErrorCategoryFromSqlState(sqlState),
8181
errorMessage, errorMessageWithDetails, getErrorTypeFromErrorCode(errorCode, sqlState), true,
8282
ErrorCodeType.SQLSTATE, sqlState, externalDocumentationLink, e);

0 commit comments

Comments
 (0)