We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce7ce31 commit 61f6e3eCopy full SHA for 61f6e3e
1 file changed
tokio-postgres/src/error/mod.rs
@@ -311,10 +311,10 @@ impl fmt::Display for DbError {
311
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
312
write!(fmt, "{}: {}", self.severity, self.message)?;
313
if let Some(detail) = &self.detail {
314
- write!(fmt, "DETAIL: {}", detail)?;
+ write!(fmt, "\nDETAIL: {}", detail)?;
315
}
316
if let Some(hint) = &self.hint {
317
- write!(fmt, "HINT: {}", hint)?;
+ write!(fmt, "\nHINT: {}", hint)?;
318
319
Ok(())
320
0 commit comments