Skip to content

Commit

Permalink
Remove logger.error in Document.update
Browse files Browse the repository at this point in the history
  • Loading branch information
gwbaik9717 committed Aug 7, 2024
1 parent b6c5213 commit e6ae347
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/document/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -661,12 +661,6 @@ export class Document<T, P extends Indexable = Indexable> {
// drop clone because it is contaminated.
this.clone = undefined;

if (err instanceof YorkieError) {
logger.error(err.toString());
} else {
logger.error(err);
}

throw err;
} finally {
this.isUpdating = false;
Expand Down

0 comments on commit e6ae347

Please sign in to comment.