I got bitten today by a nasty #JavaScript thing:

const handler = async () => { try { return request(); } catch (err) { // I
wanted to handle request errors here // but since request returns a promise //
they won't get caught } };

Thu, 06 Dec 2018 17:42:41 UTC31

1 reply