Skip to content
Snippets Groups Projects
Commit 6bf81170 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

fix: forgot to include error message in the error message

parent da021e14
No related branches found
No related tags found
1 merge request!1495fix: set panic hook for plugin code
......@@ -532,7 +532,7 @@ fn up_single_file(
tlog!(Debug, "applying `UP` migration query {filename} #{i}/{} `{}`", queries.up.len(), DisplayTruncated(sql));
if let Err(e) = applier.apply(sql, Some(deadline)) {
#[rustfmt::skip]
tlog!(Error, "failed applying `UP` migration query (file: {filename}) `{}`", DisplayTruncated(sql));
tlog!(Error, "failed applying `UP` migration query (file: {filename}) `{}`: {e}", DisplayTruncated(sql));
return Err(Error::Up {
filename: filename.into(),
command: sql.clone(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment