mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-30 16:17:25 +00:00
fix: improved logs for script
This commit is contained in:
@@ -1 +1 @@
|
||||
e871ff90d272ac171258fe0e1c23020242bba35f
|
||||
1391ce425d7523876c17d04667f703a58d1e23aa
|
||||
@@ -933,6 +933,7 @@ 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 needs_lock_gen {
|
||||
let tag = if ns.dedicated_worker.is_some_and(|x| x) {
|
||||
Some(format!("{}:{}", &w_id, &ns.path,))
|
||||
|
||||
@@ -203,7 +203,7 @@ fn parse_ts_relative_imports(raw_code: &str, script_path: &str) -> error::Result
|
||||
let normalized = normalized.to_str().unwrap().to_string();
|
||||
relative_imports.push(normalized);
|
||||
} else {
|
||||
tracing::error!("error canonicalizing path: {:?}", normalized);
|
||||
tracing::error!("error canonicalizing path: {script_path} with import {import}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user