diesel-rs/diesel

More verbose errors on diesel migrations?

Open

#2,378 opened on Apr 24, 2020

View on GitHub
 (3 comments) (13 reactions) (0 assignees)Rust (1,003 forks)batch import
clienhancementhelp wanted

Repository metrics

Stars
 (12,054 stars)
PR merge metrics
 (Avg merge 30d 16h) (30 merged PRs in 30d)

Description

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.

Contributor guide