Skip to content

Commit

Permalink
🐛 (settings/index.tsx): fix error type assertion in captureException …
Browse files Browse the repository at this point in the history
…call
  • Loading branch information
nanbingxyz committed Jan 8, 2025
1 parent 84008f2 commit 912da0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/pages/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function Settings() {
}
} catch (error) {
debug(error);
captureException(error);
captureException(error as Error);
}
})();
}, [user, updated]);
Expand Down

0 comments on commit 912da0d

Please sign in to comment.