go-pg / migrations

SQL database migrations for Golang go-pg and PostgreSQL
https://godoc.org/github.com/go-pg/migrations
BSD 2-Clause "Simplified" License
309 stars 59 forks source link

Add log on failed migrations validation #88

Closed Barben360 closed 4 years ago

Barben360 commented 4 years ago

Simply adds a log when migrations validation fails

Barben360 commented 4 years ago

Hello,

What is the reason for closing the PR? If there is a problem with the code I can fix it.

vmihailenco commented 4 years ago

Hi,

It was closed automatically by GitHub after I deleted the master branch :/

That said we return the error without printing it in all other cases in this function. You are supposed to print/log/handle the error later. If you think that error message should be cleaner - let's change the error message.