Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Frazer <joseph.frazer@ryansg.com>2020-03-06 12:32:42 -0500
committerJoseph Frazer <joseph.frazer@ryansg.com>2020-03-06 12:32:42 -0500
commit4810e7a099556eaa6005ec894b3cc94419cbc30e (patch)
tree971ea0330d58ee7b134d4ba402d15aada3e2e529 /tamer/src/ld/poc.rs
parent590245e191bcdd5fc0057c21785137083fc63759 (diff)
downloadtame-4810e7a099556eaa6005ec894b3cc94419cbc30e.tar.gz
tame-4810e7a099556eaa6005ec894b3cc94419cbc30e.tar.bz2
tame-4810e7a099556eaa6005ec894b3cc94419cbc30e.zip
[DEV-7134] Remove unwrap so we can bubble up error messages
Diffstat (limited to 'tamer/src/ld/poc.rs')
-rw-r--r--tamer/src/ld/poc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tamer/src/ld/poc.rs b/tamer/src/ld/poc.rs
index 905ce10..48082c6 100644
--- a/tamer/src/ld/poc.rs
+++ b/tamer/src/ld/poc.rs
@@ -225,7 +225,7 @@ fn load_xmlo<'a, 'i, I: Interner<'i>>(
path_buf.set_extension("xmlo");
// println!("Trying {:?}", path_buf);
- let path_abs = path_buf.canonicalize().unwrap();
+ let path_abs = path_buf.canonicalize()?;
let path = path_abs.to_str().unwrap();
load_xmlo(path, pkgs_seen, fragments, depgraph, interner, roots)?;