Skip to content

Commit

Permalink
throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa committed Apr 29, 2024
1 parent b29660f commit 8d7ae3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pages/src/vite-plugin/modules/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const buildModules = async (
JSON.parse(process.env.YEXT_SITE_ARGUMENT).productionDomain
).toString();
} catch (_) {
logger.error("Cannot parse YEXT_SITE_ARGUMENT");
throw new Error("Cannot parse YEXT_SITE_ARGUMENT");
}
}
if (type === "asset" && domain) {
Expand Down

0 comments on commit 8d7ae3a

Please sign in to comment.