2 lines
63 B
JavaScript
2 lines
63 B
JavaScript
module.exports = fn => (...args) => fn(...args).catch(args[2])
|
module.exports = fn => (...args) => fn(...args).catch(args[2])
|