3 ms·
So you catch it and pass undefined to your chapter handler function? It will surely blow up. In production code I'm using `.catch(log.rescueError(msg, returnVa
by mirekrusin 4y ago
So you catch it and pass undefined to your chapter handler function? It will surely blow up.
In production code I'm using `.catch(log.rescueError(msg, returnValue))` helper function (or .rescueWarn) - which is very helpful. It'll log error of that severity and return what I'm providing in case of exception.
- jaffathecake 4y ago> So you catch it and pass undefined to your chapter handler function? No, the original rejection is preserved.