Rewrite AppDomain to handle uncaughts & promises
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ class PostFrame extends EventEmitter
|
||||
{
|
||||
if( !( this.result instanceof Buffer ) )
|
||||
{
|
||||
this.result = new Buffer( this.result + "" );
|
||||
this.result = Buffer.from( this.result + "" );
|
||||
}
|
||||
|
||||
this.HTTP.response.headers["Content-Length"] = this.result.length;
|
||||
|
||||
Reference in New Issue
Block a user