Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1035

Failure to perform automatic client reset should throw a more meaningful message

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • Q2-24FY
    • Affects Version/s: None
    • Component/s: None

      Currently if automatic client reset fails, the actual error is logged, but the error passed back to the SDK is just a generic "Automatic recovery from client reset failed":

      https://github.com/realm/realm-core/blob/96aaf9f2615304e7a99cd4488130f07a7aae64fd/src/realm/sync/noinst/client_impl_base.cpp#L1984-L1985

      This is problematic because our users are much more likely to log errors that come in the form of exceptions and are unlikely to just send all logs from the devices. If a developer wanted to present a user with the option to send a bug report in the event of a client reset failure, there would be no way to include the error they're getting without parsing the logs, which is not ideal.

            Assignee:
            Unassigned Unassigned
            Reporter:
            nikola.irinchev@mongodb.com Nikola Irinchev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: