@ -338,7 +338,6 @@ pub trait EngineManager: std::fmt::Debug + Send + Sync + 'static {
|
|||||||
batch_end: bool,
|
batch_end: bool,
|
||||||
source_range: SourceRange,
|
source_range: SourceRange,
|
||||||
) -> Result<OkWebSocketResponseData, crate::errors::KclError> {
|
) -> Result<OkWebSocketResponseData, crate::errors::KclError> {
|
||||||
println!("Flushing batch queue");
|
|
||||||
let all_requests = if batch_end {
|
let all_requests = if batch_end {
|
||||||
let mut requests = self.take_batch().await.clone();
|
let mut requests = self.take_batch().await.clone();
|
||||||
requests.extend(self.take_batch_end().await.values().cloned());
|
requests.extend(self.take_batch_end().await.values().cloned());
|
||||||
|
@ -823,7 +823,6 @@ impl ExecutorContext {
|
|||||||
exec_state.global.module_infos[&module_id].restore_repr(repr);
|
exec_state.global.module_infos[&module_id].restore_repr(repr);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("Error in module {:?}: {e}", module_path);
|
|
||||||
let module_id_to_module_path: IndexMap<ModuleId, ModulePath> = exec_state
|
let module_id_to_module_path: IndexMap<ModuleId, ModulePath> = exec_state
|
||||||
.global
|
.global
|
||||||
.path_to_source_id
|
.path_to_source_id
|
||||||
|
Reference in New Issue
Block a user