nits logs

This commit is contained in:
Ruben Fiszel
2025-07-29 21:01:38 +00:00
parent 2e7ab919a7
commit daf3bb0a0a
+7 -1
View File
@@ -933,7 +933,13 @@ async fn create_script_internal<'c>(
}
let permissioned_as = username_to_permissioned_as(&authed.username);
tracing::info!("creating script {hash:?} at path {script_path} on workspace {w_id}");
if let Some(parent_hash) = ns.parent_hash {
tracing::info!(
"creating script {hash:?} at path {script_path} with parent {parent_hash} on workspace {w_id}",
);
} else {
tracing::info!("creating script {hash:?} at path {script_path} on workspace {w_id}",);
}
if needs_lock_gen {
let tag = if ns.dedicated_worker.is_some_and(|x| x) {
Some(format!("{}:{}", &w_id, &ns.path,))