Skip to content

Commit

Permalink
Update query-engine/driver-adapters/src/conversion/js_to_quaint.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Tatarintsev <tatarintsev@prisma.io>
  • Loading branch information
Druue and SevInf committed May 24, 2024
1 parent 91c59b0 commit d19a30f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ pub fn js_value_to_quaint(
serde_json::Value::Null => Ok(QuaintValue::null_json()),
// JsonNull
serde_json::Value::String(s) => serde_json::from_str(&s)
.map_err(|_| conversion_error!("Failed to parse json"))
.map_err(|_| conversion_error!("Failed to parse incoming json from a driver adapter"))
.map(QuaintValue::json),
json => Ok(QuaintValue::json(json)),
}
Expand Down

0 comments on commit d19a30f

Please sign in to comment.