mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
better sse break
This commit is contained in:
@@ -75,7 +75,10 @@ pub trait SSEParser {
|
||||
"Breaking SSE stream after {} consecutive parsing errors",
|
||||
consecutive_errors
|
||||
);
|
||||
break;
|
||||
return Err(Error::InternalErr(format!(
|
||||
"SSE stream terminated after {} consecutive parsing errors",
|
||||
consecutive_errors
|
||||
)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user