canjs / can-zone

A context for tracking asynchronous activity in JavaScript applications.
https://v4.canjs.com/doc/can-zone.html
MIT License
92 stars 4 forks source link

can-zone adds cycle to errors #193

Closed m-mujica closed 5 years ago

m-mujica commented 5 years ago
error = {
    message: ...
    errors: [ error ]
    ...
}

This cycle will cause problems downstream if any tool tries to serialize the error, see https://github.com/stealjs/steal/issues/1509 for more details.