Skip to content

Commit

Permalink
Avoid print prevent_next_process error when request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
welefen committed Dec 7, 2016
1 parent a129b68 commit 0b34349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class {
let err = new Error('request timeout');
err.code = 'REQUEST_TIMEOUT';
this.error = err;
return think.statusAction(500, this);
return think.statusAction(500, this).catch(() => {});
});
}
}
Expand Down

0 comments on commit 0b34349

Please sign in to comment.