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)) 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"); }); `;