Skip to content

Conversation

@temanskyM
Copy link

@temanskyM temanskyM commented May 29, 2024

Which version and edition of Flyway are you using?
10.13.0

If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Stilll happening in 10.13.0

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API

Which database are you using? (Type & version)
PostgreSQL 16.2

Which operating system are you using?
Windows 11

What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
I upgraded a Springboot from 3.2.5 to 3.3.0. That release updated Flyway from 9.22.3 to 10.10.0.

When I run my app with incorrect db credentials, I see infinite loop without any information about problem.

When I was searching problem, I found that Flyway ignore any SqlException.
I've created this PR to fix this ignoring and improve failure message.

What did you expect to see?
I expect to see some information about problem.

What did you see instead?
image

@CLAassistant
Copy link

CLAassistant commented May 29, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants