mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +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) {
|
||||
Ok(v) => v,
|
||||
Err(_) => {
|
||||
eprintln!("Unable to parse JSON Model File named {}", vfs_item.name());
|
||||
Err(e) => {
|
||||
eprintln!("Unable to parse JSON Model File named {}: {}", vfs_item.name(), e);
|
||||
|
||||
return TransformFileResult::Pass; // This should be an error in the future!
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue