Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Using 'info' level logger, my java migration script is skipped, and no error is logged (what happened?!).
Actually, the constructor of my java migration script throws an exception, and
I understand the reason to silently skip non java migration scripts inside 'db/migrations', but if the java class has the required name template (is a migration class) then any exceptions inside it should be logged as error/warn.
@cdalexndr Upon closer inspection, it looks like Flyway 6 is already adding the root cause of the invocation target exception to the debug message, so it might be just the case of promoting that to a warning or an error.
Could you please confirm that Flyway 6 in debug mode gives you the actual exception being thrown inside the constructor of your migration?