mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/exe/args.rs')
| -rw-r--r-- | src/exe/args.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exe/args.rs b/src/exe/args.rs index 1c83c63..c3843b8 100644 --- a/src/exe/args.rs +++ b/src/exe/args.rs @@ -40,7 +40,8 @@ impl<E: error::Error + 'static> error::Error for Error<E> { match self { - Self::Handler{pos: _, val} => Some(val), + // forward past the inner error because we decorate it in our Display impl + Self::Handler{val, ..} => val.source(), _ => None, } } |