This commit is contained in:
pcjones
2024-09-30 14:09:01 +02:00
parent fde9b0a5de
commit c9ea74267b

View File

@@ -45,9 +45,9 @@ namespace UmlautAdaptarr.Services.Factory
ReadarrInstances = rrArrApplications.Values.OfType<ReadarrClient>(); ReadarrInstances = rrArrApplications.Values.OfType<ReadarrClient>();
AllInstances = rrArrApplications; AllInstances = rrArrApplications;
if (!AllInstances.Values.Any()) if (AllInstances.Values.Count == 0)
{ {
throw new Exception("No RrApplication could be successfully initialized. This could be due to a faulty configuration"); throw new Exception("No ArrApplication could be successfully initialized. This could be due to a faulty configuration");
} }
} }
catch (Exception e) catch (Exception e)