mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix broken error source tracking
This commit is contained in:
parent
cfa7f03815
commit
4119a510f5
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ fn main() {
|
||||||
|
|
||||||
let mut current_err: &dyn Error = &*err;
|
let mut current_err: &dyn Error = &*err;
|
||||||
while let Some(source) = current_err.source() {
|
while let Some(source) = current_err.source() {
|
||||||
log::error!(" caused by {}", err);
|
log::error!(" caused by {}", source);
|
||||||
current_err = &*source;
|
current_err = &*source;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue