You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When inserting a document with a key which already exists, instead of throwing LiteException with with ErrorCode = INDEX_DUPLICATE_KEY, LiteDB throws FormatException.
Version
4.1.2
Describe the bug
When inserting a document with a key which already exists, instead of throwing LiteException with with ErrorCode = INDEX_DUPLICATE_KEY, LiteDB throws FormatException.
Additional context
https://github.com/SynaptiveMedical/LiteDB/blob/synaptive/v4.1.2/LiteDB/Engine/LiteEngine.cs#L210
https://github.com/SynaptiveMedical/LiteDB/blob/synaptive/v4.1.2/LiteDB/Utils/Logger.cs#L69
The text was updated successfully, but these errors were encountered: