Skip to content

Commit 61406ba

Browse files
committed
log: Fix only case of debugLog outside assert
Looks like this slipped through the cracks, oops. It is the only such call site, though. The only other matches for the following search: $ git grep -C12 -P '(?<!assert.)debugLog\(' are the function's definition, and two call sites that are enclosed in IIFEs inside asserts.
1 parent 31b7df6 commit 61406ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ class UpdateMachine {
10221022
assert(debugLog('Lost event queue for $store. Replacing…'));
10231023
// This disposes the store, which disposes this update machine.
10241024
await store._globalStore._reloadPerAccount(store.accountId);
1025-
debugLog('… Event queue replaced.');
1025+
assert(debugLog('… Event queue replaced.'));
10261026
return;
10271027

10281028
case Server5xxException():

0 commit comments

Comments
 (0)