mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
fix: dont exit on config load failure
This commit is contained in:
@@ -62,7 +62,9 @@ impl<'a> Handler {
|
||||
|
||||
for (id, gpu_config) in &config.gpus {
|
||||
if let Some(controller) = controllers.get(id) {
|
||||
controller.apply_config(gpu_config).await?;
|
||||
if let Err(err) = controller.apply_config(gpu_config).await {
|
||||
error!("could not apply existing config for gpu {id}: {err}");
|
||||
}
|
||||
} else {
|
||||
info!("could not find GPU with id {id} defined in configuration");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user