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

More verbose errors on diesel migrations? #2378

Open
lucasholder opened this issue Apr 24, 2020 · 3 comments
Open

More verbose errors on diesel migrations? #2378

lucasholder opened this issue Apr 24, 2020 · 3 comments

Comments

@lucasholder
Copy link

Right now the error messages aren't very verbose with PostgreSQL when a migration fails, e.g.:

Failed with: syntax error at or near "."

It would be helpful to also display line/column position of the error in the file.

@weiznich
Copy link
Member

It would be nice to have better error messages for migrations, but this is not something where I'm personally interested to invest much time. So don't expect much development from my side here. If someone has a nice idea here please open a PR.

@1nF0rmed
Copy link

Hey, @weiznich is this something you are still looking at?

@weiznich
Copy link
Member

@1nF0rmed Yes that's something we would be interested in getting it fixed. If your are interested #2907 contains more details about a potential fix.

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

5 participants