Skip to content

Commit

Permalink
transition.abort() causes 500 responses
Browse files Browse the repository at this point in the history
ember-fastboot/ember-cli-fastboot#202

I will also include tests to validate this.
  • Loading branch information
jasonmit authored Jun 21, 2016
1 parent a417560 commit f770b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function fastbootExpressMiddleware(distPath, options) {
}

function failure(error) {
if (error.name === "UnrecognizedURLError") {
if (error.name === "UnrecognizedURLError" || error.name === "TransitionAborted") {
next();
} else {
log(500, "Unknown Error: " + error.stack);
Expand Down

0 comments on commit f770b7f

Please sign in to comment.