mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Error When Navigating to Settings > Advanced > Developer

Open d42ohpaz opened this issue 2 months ago • 3 comments

Using the latest TestFlight version (2.4 (541)), I get the following error when I navigate to Settings > Advanced > Developer:

Optional(Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "dbConnection", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: "dbConnection", intValue: nil) ("dbConnection").", underlyingError: nil))) (Mlem/DeveloperSettingsView.swift, checkBackendStatus():128)

d42ohpaz avatar Oct 14 '25 01:10 d42ohpaz

Is this still present? I cannot reproduce on the latest dev build.

EricBAndrews avatar Nov 11 '25 23:11 EricBAndrews

I've been using the latest build (570) and I have not been getting the errors.

d42ohpaz avatar Nov 12 '25 00:11 d42ohpaz

I reckon it was the same as #2367. If the backend is offline, we should show the red backend status indicator in this page rather than showing an error toast.

At the moment, the red indicator is only shown if the health check returns false iirc. We should also show red if it fails entirely.

Sjmarf avatar Nov 12 '25 07:11 Sjmarf