Skip to content

Commit 6de30cd

Browse files
mcmah309Copilot
andauthored
Update unit conversion error message
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fd6d52d commit 6de30cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/util/src/select_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ fn map_to_unit(file: FileSelection<Value>) -> Result<FileSelection<()>, EvalErro
156156

157157
if data != Value::Null {
158158
return Err(EvalError::Serialization(serde_json::Error::custom(
159-
"File data is not empty, but no data was requested",
159+
"Expected no file data but received non-null data. This indicates a mismatch between encoding settings and returned data.",
160160
)));
161161
}
162162

0 commit comments

Comments
 (0)