This commit is contained in:
Ruben Fiszel
2025-03-26 23:32:51 +01:00
parent bd49010345
commit b42deedfba

View File

@@ -703,6 +703,9 @@ pub async fn get_variable_or_self(path: String, db: &DB, w_id: &str) -> Result<S
Ok(value)
} else {
Err(Error::NotFound(format!("Variable {} not found", path)))
Err(Error::NotFound(format!(
"Variable not found when resolving `$var:{}`",
path
)))
}
}