[Webkit-unassigned] [Bug 215771] Unhandled Promise Rejection: Abort Error: Fetch is aborted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 10 21:43:26 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=215771

Asheem <asheem.mamoowala at mapbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asheem.mamoowala at mapbox.com

--- Comment #4 from Asheem <asheem.mamoowala at mapbox.com> ---
This is a problem in Mapbox-GL-JS that is being faced by a number of users of the library. Reference: https://github.com/mapbox/mapbox-gl-js/issues/8480

Whether using a nested promise or a chained promise, this error is logged to the console when a fetch request is cancelled while reading the response data. 

Link to the code in question: https://github.com/mapbox/mapbox-gl-js/blob/0102e52123fc66df98853620ced6e0e3195fa9a4/src/util/ajax.js#L144-L157

This problem affects our customers who are using logged errors for production applications, and have to handle a large number of these spurious errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210211/6c06ea34/attachment.htm>


More information about the webkit-unassigned mailing list