ignore errors on the modeling cmds that are only for the artifact graph
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -24,6 +24,7 @@ pub struct EngineConnection {
|
||||
batch_end: Arc<RwLock<IndexMap<uuid::Uuid, (WebSocketRequest, kcl_lib::SourceRange)>>>,
|
||||
core_test: Arc<RwLock<String>>,
|
||||
execution_kind: Arc<RwLock<ExecutionKind>>,
|
||||
ignore_failed_responses: Arc<RwLock<Vec<uuid::Uuid>>>,
|
||||
/// The default planes for the scene.
|
||||
default_planes: Arc<RwLock<Option<DefaultPlanes>>>,
|
||||
stats: EngineStats,
|
||||
@ -39,6 +40,7 @@ impl EngineConnection {
|
||||
core_test: result,
|
||||
execution_kind: Default::default(),
|
||||
default_planes: Default::default(),
|
||||
ignore_failed_responses: Default::default(),
|
||||
stats: Default::default(),
|
||||
})
|
||||
}
|
||||
@ -371,6 +373,10 @@ impl kcl_lib::EngineManager for EngineConnection {
|
||||
Arc::new(RwLock::new(IndexMap::new()))
|
||||
}
|
||||
|
||||
fn ignore_failed_responses(&self) -> Arc<RwLock<Vec<uuid::Uuid>>> {
|
||||
self.ignore_failed_responses.clone()
|
||||
}
|
||||
|
||||
fn stats(&self) -> &EngineStats {
|
||||
&self.stats
|
||||
}
|
||||
|
Reference in New Issue
Block a user