fix: fix getting logs locally for ee without instance settings

This commit is contained in:
Ruben Fiszel
2024-11-25 12:02:35 +01:00
parent ac525ec73c
commit 1dbcae953d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -404,6 +404,8 @@ Windmill Community Edition {GIT_VERSION}
tracing::error!("Could loading critical error emails setting: {:?}", e);
}
let worker_mode = num_workers > 0;
#[cfg(feature = "enterprise")]
{
// load the license key and check if it's valid
@@ -440,8 +442,6 @@ Windmill Community Edition {GIT_VERSION}
}
}
let worker_mode = num_workers > 0;
if server_mode || worker_mode || indexer_mode {
let port_var = std::env::var("PORT").ok().and_then(|x| x.parse().ok());
+1 -1
View File
@@ -2,7 +2,7 @@
const s3LogPrefixes = [
'\n[windmill] Previous logs have been saved to object storage at logs/',
'\n[windmill] Previous logs have been saved to disk at logs/',
'\n[windmill] No object storage set in instance settings. Previous logs have been saved to disk at '
'\n[windmill] No object storage set in instance settings. Previous logs have been saved to disk at logs/'
]
</script>