forked from vhaudiquet/rhema-claw
fix(android): a worker crash lands in the log instead of dying silent
The diagnostics page showed the status job "waiting" while its runs and the report-now kick died without a trace: any exception before the first log line was invisible, indistinguishable from a job that never starts. Every worker now wraps its run — a crash logs its type, message, and first frame; a cancellation logs as such and rethrows. The screen gains the report-now kick's own row (a one-time job's empty list is "never run", not an error) and the tap lands in the log, so the next stale-row mystery names its cause instead of hiding it.
This commit is contained in:
1 parent
7225dfddd3
commit
5e9952ac6d
7 files changed
+85
-16
No files matched your search
@@ -104,6 +104,8 @@
|
||||
<string name="diag_work_status">Status reporting</string>
|
||||
<string name="diag_work_notify">Notification poll</string>
|
||||
<string name="diag_work_commands">Command queue</string>
|
||||
<string name="diag_work_kick">Report-now run</string>
|
||||
<string name="diag_state_never">never run</string>
|
||||
<string name="diag_work_next_fmt">next run in %1$s</string>
|
||||
<string name="diag_work_attempts_fmt">%1$d attempts</string>
|
||||
<string name="diag_state_checking">checking</string>
|
||||
|
||||
Reference in new issue
Block a user