### Description https://github.com/getsentry/sentry-javascript/pull/19483 removes the optional variant. Upstream issue https://github.com/opennextjs/opennextjs-cloudflare/issues/1141
Description
#19483 removes the optional variant.
Upstream issue opennextjs/opennextjs-cloudflare#1141