already icon indicating copy to clipboard operation
already copied to clipboard

wrapFunction to log errors?

Open r3m0t opened this issue 2 years ago • 0 comments

When using wrapFunction, the after function doesn't get an exception if the wrapped function threw one/returned a rejected promise, which would be useful as a reusable error logger.

r3m0t avatar Oct 12 '22 10:10 r3m0t