diesel-rs/diesel

More verbose errors on diesel migrations?

Ouverte

#2 378 ouverte le 24 avr. 2020

 (3 commentaires) (14 réactions) (0 personne assignée)Rust (1 003 forks)batch import
clienhancementhelp wanted

Métriques du dépôt

Stars
 (12 054 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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