mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 16:00:38 +00:00
fix: fix getting logs locally for ee without instance settings
This commit is contained in:
+2
-2
@@ -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());
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user