better error message
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user