Skip to content

[Module Federation] module_metadata is not injected to the stack frames #13704

@grgol

Description

@grgol

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/vue

SDK Version

8.30.0

Framework Version

@sentry/vue 8.30.0 and @sentry/webpack-plugin ^2.22.4

Link to Sentry event

No response

Reproduction Example/SDK Setup

Hello, I'm trying to setup sentry monitoring for remotes following the documentation. All of my remotes and host applications run on Vue 3 and Webpack 5. My problem is that, there is no module_metadata in any error I trigger from remote.

I also tried using @sentry/browser SDK but the result was the same

Here is an example:
link

I assume it is a bug, but maybe I do something wrong?

Steps to Reproduce

  1. Run yarn install
  2. In one terminal run, yarn start:host and in another, yarn start:remote
  3. Click on the Click me button to trigger error
  4. Error should be displayed by console.log from beforeSend hook

Expected Result

There is a module_metadata injected into one of the stack frames

Actual Result

There is nomodule_metadata injected in stack frames

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions