haxe
haxe copied to clipboard
handle HttpNodeJs request error
Without this change, the error thrown by the request must be handled with a generic
js.Node.process.on('uncaughtException', (e) -> trace(e));
I think is more convenient to handle the error with request.onError
I agree with this, but I don't know if it should add this "Http Request Error: " prefix...
No problem, should I remove the prefix entirely and only throw the 'e'? Or do you have something else in mind?
Closed by #12137