Fix a promise was created in a handler but was not returned from it, fix #318

This commit is contained in:
lichengyin 2016-04-26 12:12:38 +08:00
parent 9b9e6a3446
commit 62f0cf0388

View File

@ -166,7 +166,7 @@ export default class extends think.http.base {
execError(err){
let http = this.http;
http.error = err;
return think.statusAction(500, http, true);
return think.statusAction(500, http, true).catch(() => {});
}
/**
* run