Skip to content

Commit 11add49

Browse files
biozalCopilot
andauthored
Update example/src/services/DittoService.ts
Co-authored-by: Copilot <[email protected]>
1 parent bd64c63 commit 11add49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/services/DittoService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class DittoService {
9292
let permissionsGranted = await this.requestPermissions();
9393
if (!permissionsGranted) {
9494
console.warn('Required permissions not granted');
95-
throw 'Permissions not granted';
95+
throw new Error('Permissions not granted');
9696
}
9797

9898
// Initialize Ditto

0 commit comments

Comments
 (0)