From 9c213d324817f4064f0668c672dc51eac086c179 Mon Sep 17 00:00:00 2001 From: Andrei Borza Date: Mon, 2 Dec 2024 10:58:49 +0100 Subject: [PATCH 1/2] fix(nuxt): Remove unused parameter in sentry-example-api template --- src/nuxt/templates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nuxt/templates.ts b/src/nuxt/templates.ts index a5172358..f14757d5 100644 --- a/src/nuxt/templates.ts +++ b/src/nuxt/templates.ts @@ -239,7 +239,7 @@ export function getSentryExampleApiTemplate() { // Feel free to delete this file. import { defineEventHandler } from '#imports'; -export default defineEventHandler(event => { +export default defineEventHandler(() => { throw new Error("Sentry Example API Route Error"); }); `; From dfb6f57028ed078e468c7950b2d5238acfaf3270 Mon Sep 17 00:00:00 2001 From: Andrei Borza Date: Mon, 2 Dec 2024 11:01:51 +0100 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d5bc5ea..dd4dc5ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- fix(nuxt): Remove unused parameter in sentry-example-api template ([#734](https://github.com/getsentry/sentry-wizard/pull/734)) + ## 3.36.0 - Remove Profiling for Android ([#720](https://github.com/getsentry/sentry-wizard/pull/720))