[JS] How to link captured Exception with ongoing Transaction?

I have the active ongoing transaction, and make the call to Sentry.captureException(err) inside it’s code. This exception is shown in issues list, but without any link to transaction, inside that it is happens.

Is there any way exists to automatically (or semi-manually) link all happened exceptions with ongoing transactions?