better error message
This commit is contained in:
parent
9becb6e3a7
commit
ae8630e038
@ -62,7 +62,7 @@ impl ResourcesGenerator {
|
||||
|
||||
let mut handlebars = String::new();
|
||||
for resource in &self.resources {
|
||||
let canonical_source = canonicalize(&resource.source).expect("failed to get canonical path");
|
||||
let canonical_source = canonicalize(&resource.source).expect(&format!("failed to get canonical path for {:?}", resource.source));
|
||||
let data_type = if resource.raw {
|
||||
"[u8]"
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user