mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
Fix a promise was created in a handler but was not returned from it, fix #318
This commit is contained in:
parent
9b9e6a3446
commit
62f0cf0388
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user