haxe icon indicating copy to clipboard operation
haxe copied to clipboard

handle HttpNodeJs request error

Open josuigoa opened this issue 1 year ago • 2 comments

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

josuigoa avatar Sep 19 '24 08:09 josuigoa

I agree with this, but I don't know if it should add this "Http Request Error: " prefix...

Simn avatar Oct 15 '24 07:10 Simn

No problem, should I remove the prefix entirely and only throw the 'e'? Or do you have something else in mind?

josuigoa avatar Oct 15 '24 13:10 josuigoa

Closed by #12137

Simn avatar Apr 06 '25 05:04 Simn