diff options
Diffstat (limited to 'library/src')
| -rw-r--r-- | library/src/compute/data.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/compute/data.rs b/library/src/compute/data.rs index e3013389..bf747ec6 100644 --- a/library/src/compute/data.rs +++ b/library/src/compute/data.rs @@ -216,6 +216,7 @@ fn convert_json(value: serde_json::Value) -> Value { } /// Format the user-facing JSON error message. +#[track_caller] fn format_json_error(error: serde_json::Error) -> String { assert!(error.is_syntax() || error.is_eof()); format!("failed to parse json file: syntax error in line {}", error.line()) |
