Skip to content

Commit 14998ec

Browse files
author
Robert Jackson
authored
Stop processing when result has errored.
1 parent 03ee080 commit 14998ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function fastbootExpressMiddleware(distPath, options) {
3535
if (result.error) {
3636
log('RESILIENT MODE CAUGHT:', result.error.stack);
3737
next(result.error);
38+
return;
3839
}
3940

4041
let headers = result.headers;

0 commit comments

Comments
 (0)