diff --git a/src/utils/plausible.ts b/src/utils/plausible.ts index 9eaab57..b185831 100644 --- a/src/utils/plausible.ts +++ b/src/utils/plausible.ts @@ -1,5 +1,7 @@ export function collect(eventName: string, props: Record = {}) { try { window.plausible?.(eventName, { props }); - } catch (error) {} + } catch { + /* empty */ + } }