Skip to content

Commit

Permalink
Fix the path to the documentation in the exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyeeedar committed Mar 2, 2020
1 parent 98c325a commit 0c2ed47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static Connection openConnection(DataSource dataSource, int connectRetrie
} catch (SQLException e) {
if ("08S01".equals(e.getSQLState()) && e.getMessage().contains("This driver is not configured for integrated authentication")) {
throw new FlywaySqlException("Unable to obtain connection from database"
+ getDataSourceInfo(dataSource) + ": " + e.getMessage() + "\nTo setup integrated authentication see https://flywaydb.org/documentation/database/sqlserver#windows-authentication.", e);
+ getDataSourceInfo(dataSource) + ": " + e.getMessage() + "\nTo setup integrated authentication see https://flywaydb.org/documentation/database/sqlserver#windows-authentication--azure-active-directory", e);
}

if (++retries > connectRetries) {
Expand Down

0 comments on commit 0c2ed47

Please sign in to comment.