Skip to content

Commit

Permalink
chore: adds response logging
Browse files Browse the repository at this point in the history
  • Loading branch information
akoenig committed May 6, 2024
1 parent 70840de commit f810a72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/routes/$category.$id/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export async function loader({ params, request }: LoaderFunctionArgs) {

console.log(response.status, await response.text());
console.log(response.headers);

console.log(await response.text());
} catch (cause) {
console.error(`failed to send event to Plausible: ${cause}`);
}
Expand Down

0 comments on commit f810a72

Please sign in to comment.