diesel-rs/diesel

More verbose errors on diesel migrations?

Open

#2,378 建立於 2020年4月24日

在 GitHub 查看
 (3 留言) (13 反應) (0 負責人)Rust (12,054 star) (1,003 fork)batch import
clienhancementhelp wanted

描述

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.

貢獻者指南

More verbose errors on diesel migrations? · diesel-rs/diesel#2378 | Good First Issue