Write errors still dropped in app state, pasted media and the share extension #226

open cmc opened this on 2026-11-22 12:26 UTC · feature · milestone Backlog

Discussion

cmc 2026-11-22 12:26 UTC

Found while fixing #191 and #192 and left alone:

  • TrustStore.save (Sources/OrgApp/TrustStore.swift:27) and ClockModel's state file (Sources/OrgApp/ClockModel.swift:76) drop write errors.
  • KeyedTextView+Media.swift:58 drops a failed copy of pasted media; the attachment does not appear and nothing says why.
  • ShareViewController uses try? on CaptureInbox.add and AttachmentInbox.add, so a share that fails to save closes the form without a message.
  • MobileModel.readConfig reports an unreadable config.toml as "No config.toml in …", and ConfigSync.reload says nothing when the file can't be read.
  • An unreadable .link file in the capture inbox stays there with no message.

Platforms: Mac, iOS.