|
|
|
|
|
by jjn2009
3748 days ago
|
|
Its a problem yes, but the nature of javascript makes this a difficult problem to address. Node tried addressing this with the 'domain' module to help with propagating errors upward more generically: https://nodejs.org/api/domain.html But it was deprecated:
https://github.com/nodejs/node/issues/66 promises are a very nice way of drying out error handling and cleaning up callbacks for now. |
|