From 1b071420cb574d36db0ddd1463a47829dc22b920 Mon Sep 17 00:00:00 2001 From: dzania Date: Thu, 28 Sep 2023 16:17:34 +0200 Subject: [PATCH] use continue instead of returning error --- src/grpc/enrollment.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/grpc/enrollment.rs b/src/grpc/enrollment.rs index ef3a8bf6c4..82867ce15c 100644 --- a/src/grpc/enrollment.rs +++ b/src/grpc/enrollment.rs @@ -361,10 +361,7 @@ impl enrollment_service_server::EnrollmentService for EnrollmentServer { }; configs.push(config); } else { - return Err(Status::internal(format!( - "Device not found for network: {}", - network.id.unwrap() - ))); + continue; } }