mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 04:51:47 +00:00
Add error context to output for JsonModelPlugin
This commit is contained in:
parent
c08a598d3f
commit
27cf2c8740
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ impl Plugin for JsonModelPlugin {
|
||||||
|
|
||||||
let mut rbx_item: RbxInstance = match serde_json::from_str(contents) {
|
let mut rbx_item: RbxInstance = match serde_json::from_str(contents) {
|
||||||
Ok(v) => v,
|
Ok(v) => v,
|
||||||
Err(_) => {
|
Err(e) => {
|
||||||
eprintln!("Unable to parse JSON Model File named {}", vfs_item.name());
|
eprintln!("Unable to parse JSON Model File named {}: {}", vfs_item.name(), e);
|
||||||
|
|
||||||
return TransformFileResult::Pass; // This should be an error in the future!
|
return TransformFileResult::Pass; // This should be an error in the future!
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue