Is far as I understand it's normal to not call Sentry.init in development env. Sentry.captureMessage and Sentry.captureException methods tolerate it and do nothing when called.
When deployed to AWS you have to call await Sentry.flush(n) (as suggested in many guides) to make sure that all data is sent, but this code throws exception if Sentry was not initialized.