Skip to content
Prev Previous commit
Next Next commit
Update error handling in HealthDataReader to provide more informative…
… error responses
  • Loading branch information
klnfreedom committed Sep 15, 2025
commit 3a2cc112669951227b0ab1df22dadb85d0d1b695
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class HealthDataReader(
"Unable to return $dataType due to the following exception:"
)
Log.e("FLUTTER_HEALTH::ERROR", Log.getStackTraceString(e))
result.success(null)
result.error("UNAVAILABLE", "Data not available", null)
}
}
}
Expand Down