Fixed
Status Update
Comments
sa...@saket.me <sa...@saket.me> #2
Running into a similar issue, any update on this?
sa...@saket.me <sa...@saket.me> #3
This is a platform behavior change.
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #4
Reassigning to current owner per go/androidx/owners.
se...@google.com <se...@google.com>
na...@google.com <na...@google.com> #5
Re-triaging by request.
Description
Component used: WorkManager Version used: 2.7.1 Devices/Android versions reproduced on: all
When Worker throws an exception, current default behavior is to log this exception to Logcat. There is no way to customize this behavior.
Some applications might want to have a different behavior. One example would be to use a custom logger, or upload an analytics event when such a case happens.
Today, Configuration class already provides a way to handle exception during initialization and during scheduling. This feature requests is to add a similar mechanism to handle exceptions from worker.