diff --git a/lib/registries/addon/overview/route.ts b/lib/registries/addon/overview/route.ts index c085e344cd..8c1eb47de7 100644 --- a/lib/registries/addon/overview/route.ts +++ b/lib/registries/addon/overview/route.ts @@ -149,7 +149,8 @@ export default class Overview extends GuidRoute { } @action - error() { + error(error: Error, _: unknown) { this.replaceWith('page-not-found', notFoundURL(this.router.currentURL)); + captureException(error); } }