You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a worker fails, wants to get an exception message but gets null.
Component
Fhir SyncWorker
To Reproduce
Steps to reproduce the behavior:
Pass wrong token while execute worker
run the worker
check Failed SyncJobStatus
See error
Expected behavior
Once a worker failed should get exceptions
Additional context
getting this from FhirSyncWorker: Received result from worker Failed(exceptions=[ResourceSyncException(resourceType=List, exception=retrofit2.HttpException: HTTP 500 Server Error), ResourceSyncException(resourceType=Patient, exception=retrofit2.HttpException: HTTP 500 Server Error), ResourceSyncException(resourceType=Questionnaire, exception=retrofit2.HttpException: HTTP 500 Server Error)]) and sending output Data {StateType : com.google.android.fhir.sync.SyncJobStatus$Failed, State : {"timestamp":"2023-12-15T11:40:32.5007+05:30"}, }
while observing getting this: Exceptions: Failed(exceptions=null)
The text was updated successfully, but these errors were encountered:
Describe the bug
When a worker fails, wants to get an exception message but gets null.
Component
Fhir SyncWorker
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Once a worker failed should get exceptions
Additional context
getting this from FhirSyncWorker:
Received result from worker Failed(exceptions=[ResourceSyncException(resourceType=List, exception=retrofit2.HttpException: HTTP 500 Server Error), ResourceSyncException(resourceType=Patient, exception=retrofit2.HttpException: HTTP 500 Server Error), ResourceSyncException(resourceType=Questionnaire, exception=retrofit2.HttpException: HTTP 500 Server Error)]) and sending output Data {StateType : com.google.android.fhir.sync.SyncJobStatus$Failed, State : {"timestamp":"2023-12-15T11:40:32.5007+05:30"}, }
while observing getting this:
Exceptions: Failed(exceptions=null)
The text was updated successfully, but these errors were encountered: