Skip to content

Commit

Permalink
Output more debuggable log
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 1, 2023
1 parent 9547a32 commit 7669d2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webextensions/sidebar/indent.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ export async function reserveToUpdateVisualMaxTreeLevel() {
if (mPromisedInitialized)
await mPromisedInitialized;

log('reserveToUpdateVisualMaxTreeLevel');
log('reserveToUpdateVisualMaxTreeLevel ', {
called: reserveToUpdateVisualMaxTreeLevel.calledCount,
batch: reserveToUpdateVisualMaxTreeLevel.batchCount,
});
if (updateVisualMaxTreeLevel.waiting) {
clearTimeout(updateVisualMaxTreeLevel.waiting);
delete updateVisualMaxTreeLevel.waiting;
Expand Down

0 comments on commit 7669d2a

Please sign in to comment.