diesel-rs/diesel

More verbose errors on diesel migrations?

Open

#2.378 aberto em 24 de abr. de 2020

Ver no GitHub
 (3 comments) (13 reactions) (0 assignees)Rust (1.003 forks)batch import
clienhancementhelp wanted

Métricas do repositório

Stars
 (12.054 stars)
Métricas de merge de PR
 (Mesclagem média 30d 16h) (30 fundiu PRs em 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.

Guia do colaborador