diff --git a/packages/open-next/src/build/copyTracedFiles.ts b/packages/open-next/src/build/copyTracedFiles.ts index 007f8a1e5..eaef22c00 100644 --- a/packages/open-next/src/build/copyTracedFiles.ts +++ b/packages/open-next/src/build/copyTracedFiles.ts @@ -136,7 +136,7 @@ File ${fullFilePath} does not exist computeCopyFilesForPage(pagePath); } catch (e) { if (alternativePath) { - computeCopyFilesForPage(alternativePath); + safeComputeCopyFilesForPage(alternativePath); } } };