Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Jun 5, 2024
1 parent 35ef53c commit d03160a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/astro/src/core/errors/errors-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1124,8 +1124,12 @@ export const MissingMiddlewareForInternationalization = {
*/
export const RewriteEncounteredAnError = {
name: 'RewriteEncounteredAnError',
title: "Astro couldn't find the route to rewrite, or if was found but it emitted an error during the rendering phase.",
message: (route: string, stack?: string) => `The route ${route} that you tried to render doesn't exist, or it emitted an error during the rendering phase. ${stack ? stack : ""}.`
title:
"Astro couldn't find the route to rewrite, or if was found but it emitted an error during the rendering phase.",
message: (route: string, stack?: string) =>
`The route ${route} that you tried to render doesn't exist, or it emitted an error during the rendering phase. ${
stack ? stack : ''
}.`,
} satisfies ErrorData;

/**
Expand Down

0 comments on commit d03160a

Please sign in to comment.