mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
refactor(postgres): use a similar styling to mysql when adding the severity and code to error message
This commit is contained in:
parent
d04fcbb2a7
commit
23fb65dc36
@ -154,7 +154,7 @@ impl PgNotice {
|
||||
|
||||
impl Display for PgNotice {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "{} [{}] {}", self.severity(), self.code(), self.message())
|
||||
write!(f, "{} ({}): {}", self.severity(), self.code(), self.message())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user