File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -779,6 +779,7 @@ class UpdateMachine {
779
779
switch (e) {
780
780
case ZulipApiException (code: 'BAD_EVENT_QUEUE_ID' ):
781
781
assert (debugLog ('Lost event queue for $store . Replacing…' ));
782
+ reportErrorToUserBriefly ('Reconnecting to server.' );
782
783
await store._globalStore._reloadPerAccount (store.accountId);
783
784
dispose ();
784
785
debugLog ('… Event queue replaced.' );
@@ -796,7 +797,7 @@ class UpdateMachine {
796
797
default :
797
798
assert (debugLog ('Error polling event queue for $store : $e \n '
798
799
'Backing off and retrying even though may be hopeless…' ));
799
- // TODO tell user on non-transient error in polling
800
+ reportErrorToUserBriefly ( 'Error loading server data, will retry: $ e ' );
800
801
await backoffMachine.wait ();
801
802
assert (debugLog ('… Backoff wait complete, retrying poll.' ));
802
803
continue ;
You can’t perform that action at this time.
0 commit comments