Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Frazer <joseph.frazer@ryansg.com>2020-03-06 14:08:55 -0500
committerJoseph Frazer <joseph.frazer@ryansg.com>2020-03-06 14:08:55 -0500
commit06bc89a9cee68a242dfd91497c1c7ab36ac30424 (patch)
tree59bbd2bbf84556dd110769a03a936011f81b73b8 /tamer/src/ld/poc.rs
parent246a40a047b279c1e8c9ef604f563fe6915b0969 (diff)
downloadtame-06bc89a9cee68a242dfd91497c1c7ab36ac30424.tar.gz
tame-06bc89a9cee68a242dfd91497c1c7ab36ac30424.tar.bz2
tame-06bc89a9cee68a242dfd91497c1c7ab36ac30424.zip
[DEV-7134] Pass read event errors up the stack
Diffstat (limited to 'tamer/src/ld/poc.rs')
-rw-r--r--tamer/src/ld/poc.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/tamer/src/ld/poc.rs b/tamer/src/ld/poc.rs
index 140e4ce..6bedd7a 100644
--- a/tamer/src/ld/poc.rs
+++ b/tamer/src/ld/poc.rs
@@ -204,11 +204,7 @@ fn load_xmlo<'a, 'i, I: Interner<'i>>(
// header (symtable, sym-deps, fragments)
Ok(XmloEvent::Eoh) => break,
- Err(err @ XmloError::UnassociatedFragment) => {
- println!("{:?}; skipping...", err);
- }
-
- err @ Err(_) => err.map(|_| ())?,
+ Err(e) => return Err(e.into()),
}
}