Using Sentry with Oclif for CLI

Hi all,

when using sentry, the following sends a message

import * as Sentry from "@sentry/node";

Sentry.init({
   dsn: "http://id@host/number",
});

Sentry.captureMessage('testing sentry 2');

Using the exact same in oclif’s run function fails without any message:

async run(): Promise<void> {
  const { flags } = this.parse(FileName)

  Sentry.init({
    dsn: 'http://id@host/number',
  })

  Sentry.captureMessage('testing sentry 3')
  // further code, runs

How can this be debugged ?