Skip to content

Frontend dev server logs verbose sentry config #4788

Closed

Description

Description

Originally as part of the Nuxt 3 migration the local frontend dev server was modified to include logging basic information about the Sentry integration, including the dsn, environment, and release information.

Something has changed and now the config object gets modified and includes an array of "default integrations", the list of which clutters the output, for example:

[Openverse] ✔ Initialized sentry on the server with config
 { dsn: '',
  environment: 'local',
  release: undefined,
  defaultIntegrations:
   [ { name: 'InboundFilters',
       processEvent: [Function: processEvent],
       isDefaultInstance: true },
     { name: 'FunctionToString',
       setupOnce: [Function: setupOnce],
       setup: [Function: setup],
       isDefaultInstance: true },
     { name: 'LinkedErrors',
       preprocessEvent: [Function: preprocessEvent],
       isDefaultInstance: true },
     { name: 'RequestData',
       processEvent: [Function: processEvent],
       isDefaultInstance: true },
     { name: 'Console', setup: [Function: setup], isDefaultInstance: true },
     { name: 'Http', setupOnce: [Function: setupOnce], isDefaultInstance: true },
     { name: 'NodeFetch', setupOnce: [Function: setupOnce], isDefaultInstance: true },
     { name: 'OnUncaughtException', setup: [Function: setup], isDefaultInstance: true },
     { name: 'OnUnhandledRejection', setup: [Function: setup], isDefaultInstance: true },
     { name: 'ContextLines',
       processEvent: [Function: processEvent],
       isDefaultInstance: true },
     { name: 'LocalVariablesAsync',
       setup: [Function: setup],
       processEvent: [Function: processEvent],
       isDefaultInstance: true },
     { name: 'Context', processEvent: [Function: processEvent], isDefaultInstance: true } ] }

Reproduction

  1. Run ov j f or ov just frontend/run dev locally.
  2. Observe the cluttered output in your terminal.

Screenshots

Environment

  • Device:
  • OS:
  • Browser:
  • Version:
  • Other info:

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions