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
Labels
Milestone

Comments

@mircea-pop
Copy link
Contributor

@mircea-pop mircea-pop commented Mar 20, 2014

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

@axelfontaine axelfontaine commented Mar 23, 2014

Agreed.

axelfontaine added a commit that referenced this issue Apr 16, 2014
fix for #720
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Apr 16, 2014

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

@mircea-pop mircea-pop commented Apr 17, 2014

sounds great 👍

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.