Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Mar 14, 2024
1 parent 0da30f0 commit fa38424
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions DuckDuckGo/History/Services/EncryptedHistoryStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,10 @@ final class EncryptedHistoryStore: HistoryStoring {
let historyEntryManagedObject: HistoryEntryManagedObject
if let fetchedObject = fetchedObjects.first {
// Update existing
print("*** updating existing history entry", entry.url, entry.title ?? "no title")
fetchedObject.update(with: entry)
historyEntryManagedObject = fetchedObject
} else {
// Add new
print("*** creating new history entry", entry.url, entry.title ?? "no title")
let insertedObject = NSEntityDescription.insertNewObject(forEntityName: HistoryEntryManagedObject.className(), into: self.context)
guard let historyEntryMO = insertedObject as? HistoryEntryManagedObject else {
promise(.failure(HistoryStoreError.savingFailed))
Expand Down

0 comments on commit fa38424

Please sign in to comment.