Fixed: Failing when definition file isn't in folder yet

This commit is contained in:
Qstick 2020-12-27 22:20:50 -05:00
parent 67d75fcff9
commit 041596df4c

View file

@ -120,12 +120,8 @@ private CardigannDefinition LoadIndexerDef(string fileKey)
}
}
}
else
{
return GetHttpDefinition(fileKey);
}
throw new ArgumentOutOfRangeException(nameof(fileKey));
return GetHttpDefinition(fileKey);
}
public void Execute(IndexerDefinitionUpdateCommand message)