2 lines
61 B
JavaScript
2 lines
61 B
JavaScript
export default fn => (...args) => fn(...args).catch(args[2])
|
export default fn => (...args) => fn(...args).catch(args[2])
|