diesel-rs/diesel

More verbose errors on diesel migrations?

Open

#2378 aperta il 24 apr 2020

Vedi su GitHub
 (3 commenti) (13 reazioni) (0 assegnatari)Rust (1003 fork)batch import
clienhancementhelp wanted

Metriche repository

Star
 (12.054 star)
Metriche merge PR
 (Merge medio 30g 16h) (30 PR mergiate in 30 g)

Descrizione

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.

Guida contributor