Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
The Lite
The LiteReporter
Daniel Petersen
Daniel Petersen(Deactivated)Story Points
5
Components
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created May 30, 2019 at 7:13 PM
Updated November 22, 2019 at 11:34 PM
Resolved November 22, 2019 at 2:16 AM
I haven't exhaustively tested, but taking the below example of an unknown hostname, we get the error code of `5002` which maps to the correct error:
https://github.com/couchbase/couchbase-lite-android/blob/677acb372ce407357eb54eaa41dc81e8b6f40832/shared/src/main/java/com/couchbase/lite/CBLError.java#L67
However this should presumably be included in the `CouchbaseLiteException`, rather than requiring a look up of `5002`:
```
ReplicatorChange{replicator=Replicator[<- Database@3379dd6{name='*******'} URLEndpoint{url=ws://***************:4984/*******}], status=Status{activityLevel=STOPPED, progress=Progress{completed=0, total=0}, error=CouchbaseLiteException{domain='CouchbaseLite', code=5002, msg=null}}}
```