Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tu55eladd committed Dec 20, 2024
1 parent 80582fe commit b7267eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/felleskomponenter/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function loggEvent(eventNavn: string, feltObjekt?: object, tagObj
body: JSON.stringify(event)
};
logAmplitudeEvent(eventNavn, { ...feltObjekt, ...tagObjekt });
fetch(url, config).catch(() => {
fetch(url, config).catch((e) => {
console.warn('Klarte ikke logge event', e);
});
}
Expand Down

0 comments on commit b7267eb

Please sign in to comment.