Skip to content

Commit

Permalink
empty event log on error
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Aug 20, 2024
1 parent 0722666 commit d8d440c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agent/src/sync-engine-level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class SyncEngineLevel implements SyncEngine {
granteeDid = delegateDid;
} catch(error:any) {
console.log('SyncEngineLevel: Error fetching permission grant for delegate DID', error);
return;
return [];
}

Check warning on line 415 in packages/agent/src/sync-engine-level.ts

View check run for this annotation

Codecov / codecov/patch

packages/agent/src/sync-engine-level.ts#L413-L415

Added lines #L413 - L415 were not covered by tests
}

Expand Down

0 comments on commit d8d440c

Please sign in to comment.