mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-04-22 07:58:01 +03:00
feat: ga4 analytics #117
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { trackError } from "@/features/analytics";
|
||||
import { PublicPath } from "wxt/browser";
|
||||
|
||||
export default async function sendNotification(props: NotificationProps): Promise<void>
|
||||
@@ -13,8 +14,9 @@ export default async function sendNotification(props: NotificationProps): Promis
|
||||
}
|
||||
catch (ex)
|
||||
{
|
||||
console.error("Error while showing cloud error notification (probably because of user restrictions)");
|
||||
console.error("Error while showing notification (probably because of user restrictions)");
|
||||
console.error(ex);
|
||||
trackError("notification_error", ex as Error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user