Add quotes around filename in Backtrace debug
This commit is contained in:
parent
3ba89e8750
commit
db75b6a91f
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ impl fmt::Debug for BacktraceSymbol {
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(fname) = self.filename.as_ref() {
|
if let Some(fname) = self.filename.as_ref() {
|
||||||
write!(fmt, ", file: {:?}", fname)?;
|
write!(fmt, ", file: \"{:?}\"", fname)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(line) = self.lineno.as_ref() {
|
if let Some(line) = self.lineno.as_ref() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue