diesel-rs/diesel

More verbose errors on diesel migrations?

Open

#2 378 ouverte le 24 avr. 2020

Voir sur GitHub
 (3 commentaires) (13 réactions) (0 assignés)Rust (1 003 forks)batch import
clienhancementhelp wanted

Métriques du dépôt

Stars
 (12 054 stars)
Métriques de merge PR
 (Merge moyen 30j 16h) (30 PRs mergées en 30 j)

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.

Guide contributeur