diff --git a/AsPartitionProcessing/AsPartitionProcessing/PartitionProcessor.cs b/AsPartitionProcessing/AsPartitionProcessing/PartitionProcessor.cs index 036e214..d0bab4b 100644 --- a/AsPartitionProcessing/AsPartitionProcessing/PartitionProcessor.cs +++ b/AsPartitionProcessing/AsPartitionProcessing/PartitionProcessor.cs @@ -467,7 +467,7 @@ namespace AsPartitionProcessing returnVal += "-" + partitionKey.Substring(6, 2); } } - catch (ArgumentOutOfRangeException exc) + catch (ArgumentOutOfRangeException) { throw new InvalidOperationException($"Failed to derive date from partition key. Check the key {partitionKey} matches {Convert.ToString(granularity)} granularity."); }