fixed NPE in case of incorrect partitioning name parameter (now you will see the normal log message with error)

(cherry picked from commit f247e96d97dfa136c553f9b359a47f33b2d60acf)
This commit is contained in:
Sergey Matvienko 2021-11-15 18:27:53 +02:00
parent c0514ca3f4
commit 1cda63e74d

View File

@ -66,6 +66,6 @@ public enum NoSqlTsPartitionDate {
} }
} }
} }
return Optional.of(partition); return Optional.ofNullable(partition);
} }
} }