Skip to content

Commit dd84e44

Browse files
committed
store: Reoprt non-transient polling errors.
Signed-off-by: Zixuan James Li <[email protected]>
1 parent 2fdaa81 commit dd84e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/store.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ class UpdateMachine {
796796
default:
797797
assert(debugLog('Error polling event queue for $store: $e\n'
798798
'Backing off and retrying even though may be hopeless…'));
799-
// TODO tell user on non-transient error in polling
799+
reportErrorToUserInDialog('Error loading server data, will retry: $e');
800800
await backoffMachine.wait();
801801
assert(debugLog('… Backoff wait complete, retrying poll.'));
802802
continue;

0 commit comments

Comments
 (0)