The idea is to bypass the code relying in currentHub() for the time being, while waiting for Sentry to provide us with some guidance on how to achieve the same result without currentHub().
I'm not in love with this, but it will make the upgrade job more straightforward by not requiring to delete any code that we'd like to keep using in the future.
The idea is to bypass the code relying in
currentHub()
for the time being, while waiting for Sentry to provide us with some guidance on how to achieve the same result withoutcurrentHub()
.I'm not in love with this, but it will make the upgrade job more straightforward by not requiring to delete any code that we'd like to keep using in the future.