Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
velicuvlad committed Sep 11, 2023
1 parent c81f3d8 commit 4e8dd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-C/CBLDatabase.mm
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ - (nullable CBLCollection*) collectionWithName: (NSString*)name
C4Error c4err = {};
C4Collection* c4col = c4db_getCollection(_c4db, spec, &c4err);
if (!c4col) {
if (c4err.code != 7) {
if (c4err.code != kC4ErrorNotFound && c4err.domain == LiteCoreDomain) {
CBLWarn(Database, @"%@ Failed to get collection: %@.%@ (%d/%d)",
self, scopeName, name, c4err.domain, c4err.code);
convertError(c4err, error);
Expand Down

0 comments on commit 4e8dd0c

Please sign in to comment.