mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
fix: report a NUL-poisoned draft on move instead of 500ing
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
e895cdd4db
commit
c04942e341
@@ -2157,8 +2157,9 @@ async fn create_script_internal<'c>(
|
||||
.await?;
|
||||
if outcome.left_behind > 0 {
|
||||
tracing::warn!(
|
||||
"{} script draft(s) stranded at {p_path}: their owner already has a draft at {}",
|
||||
"{} of {} script draft(s) stranded at {p_path}: their owner already has a draft at {}",
|
||||
outcome.left_behind,
|
||||
outcome.moved + outcome.left_behind,
|
||||
&ns.path
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user