Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlywayException message is not saying anything usefull #720

Closed
mircea-pop opened this issue Mar 20, 2014 · 3 comments
Closed

FlywayException message is not saying anything usefull #720

mircea-pop opened this issue Mar 20, 2014 · 3 comments

Comments

@mircea-pop
Copy link
Contributor

I would like to have a more detailed message in the FlywayException.

For example, if the database connection fails because of a wrong password, all you get is

Error occurred while executing flywayInfo.

Would be more usefull to add the some more error description , like:

Unable to obtain Jdbc connection from DataSource
Access denied for user 'user'@'localhost' (using password: YES)

In order to find out the problem, you need right now to run the gradle task with the --debug switch and look through the stack trace after the messages.

@axelfontaine axelfontaine added this to the Flyway 3.0 milestone Mar 23, 2014
@axelfontaine
Copy link
Contributor

Agreed.

axelfontaine pushed a commit that referenced this issue Apr 16, 2014
@axelfontaine
Copy link
Contributor

Thank you very much for the issue and the fix!

I've added you to the hall of fame page (flyway-3.0 branch).

@mircea-pop
Copy link
Contributor Author

sounds great 👍

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

No branches or pull requests

2 participants