This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/scripts/asyncRoute.js
2017-08-03 00:24:01 +03:00

2 lines
63 B
JavaScript

module.exports = fn => (...args) => fn(...args).catch(args[2])