mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
add PRINT_NATIVE_ERRORS env variable
This commit is contained in:
@@ -967,6 +967,9 @@ fn write_error_expr(expr: &str, uuid: &Uuid) {
|
||||
}
|
||||
};
|
||||
|
||||
if std::env::var("PRINT_NATIVE_ERRORS").is_ok() {
|
||||
tracing::info!("native error for job {uuid}: {expr}");
|
||||
}
|
||||
if dir_entries >= 100 {
|
||||
tracing::info!("Too many error files in {ERROR_DIR}, skipping write");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user