Skip to content

Commit 7748f55

Browse files
committed
Added tags and default tags for svelte sample
1 parent a2367b3 commit 7748f55

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

example/svelte-kit/src/hooks.client.js

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { Exceptionless } from "@exceptionless/browser";
33
Exceptionless.startup(c => {
44
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
55
c.serverUrl = "http://localhost:5000";
6+
c.useDebugLogger();
7+
8+
c.defaultTags.push("Example", "svelte-kit", "client");
69
});
710

811
/** @type {import('@sveltejs/kit').HandleClientError} */

example/svelte-kit/src/hooks.server.js

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { Exceptionless } from "@exceptionless/node";
33
Exceptionless.startup(c => {
44
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
55
c.serverUrl = "http://localhost:5000";
6+
c.useDebugLogger();
7+
8+
c.defaultTags.push("Example", "svelte-kit", "server");
69
});
710

811
/** @type {import('@sveltejs/kit').HandleServerError} */

0 commit comments

Comments
 (0)