ENGLISH·COURSE API
    Preparing search index...
    • Reports an error the application caught and recovered from, so it still shows up in Sentry.

      Parameters

      Returns Promise<void>

      Settles once the report is handed to Sentry, or skipped; callers need not wait for it

      A no-op until Sentry is started, which only happens when a DSN is configured: local development and tests send nothing. The SDK is imported on the first report rather than with this module, because everything that can fail imports this helper and most sessions never report anything. The context never carries personal data out: message bodies (body, html, text) are dropped and email addresses are replaced with [email].

      void reportHandledError(sent.error.cause, { where: "smtp-email-sender" });