Skip to content

Commit ce78954

Browse files
author
JJ Allaire
committed
throw correct error from serve render
1 parent 7b7e91b commit ce78954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/command/serve/serve.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export async function serveProject(
175175

176176
// exit if there was an error
177177
if (renderResult.error) {
178-
throw error;
178+
throw renderResult.error;
179179
}
180180

181181
const finalOutput = renderResultFinalOutput(renderResult);

0 commit comments

Comments
 (0)