Skip to content

Commit

Permalink
fix: renaming the source to just hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jerriclynsjohn committed Jul 6, 2024
1 parent aebf4ce commit 95e8f1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/svelte-app/src/hooks.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const handleError: HandleClientError = async ({ error, event, status, mes
path: url.pathname,
status: status
},
source: 'hooks-client',
source: 'hooks',
});

await logger.flush()
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-app/src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const handleError: HandleServerError = async ({ error, event, status, me
method: event.request.method,
status: status
},
source: 'hooks-server',
source: 'hooks',
});

await logger.flush()
Expand Down
2 changes: 1 addition & 1 deletion packages/sveltekit/src/withAxiom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function withAxiom(logger: Logger, handler: Handle): Handle {
status: response.status,
durationMs: durationMs,
},
source: 'hooks-server'
source: 'hooks'
});

await logger.flush();
Expand Down

0 comments on commit 95e8f1c

Please sign in to comment.