Skip to content

Commit

Permalink
Merge pull request #44 from koculu/42-bug-when-valueserializer-type-h…
Browse files Browse the repository at this point in the history
…as-a-mismatch-the-error-message-shows-the-keyserializer-type

Fix wrong value serializer type in thrown Exception.
  • Loading branch information
koculu authored Aug 18, 2023
2 parents 1a72919 + 2cef4ce commit 8e210c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZoneTree/Core/ZoneTreeLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ void ValidateZoneTreeMeta()

if (!string.Equals(ZoneTreeMeta.ValueSerializerType, Options.ValueSerializer.GetType().FullName, StringComparison.Ordinal))
throw new TreeValueSerializerTypeMismatchException(
ZoneTreeMeta.KeySerializerType,
Options.KeySerializer.GetType().FullName);
ZoneTreeMeta.ValueSerializerType,
Options.ValueSerializer.GetType().FullName);
}

void LoadZoneTreeMetaWAL()
Expand Down

0 comments on commit 8e210c6

Please sign in to comment.