JulianMar / nuxt-bugsnag

Bugsnag module for nuxt.js
MIT License
49 stars 18 forks source link

Custom appVersion is not reporting to the specific one. #22

Closed lukasborawski closed 3 years ago

lukasborawski commented 3 years ago

So I have this setup for my module:

   [
      'nuxt-bugsnag',
      {
        apiKey: '12621838217',
        reporterOptions: {
          appVersion: version, // from package.json
          releaseStage: process.env.NODE_ENV,
        },
        publishRelease: true,
      },
   ],

... and it's not reporting bugs to the specific, defined version. All of them fall to the 1.0.0. I've checked the module codebase and it seems to be fine. What can be wrong? @JulianMar

JulianMar commented 3 years ago

Can you try using it like this

[
      'nuxt-bugsnag',
      {
        apiKey: '12621838217',
        config: {
          appVersion: version, // from package.json
          releaseStage: process.env.NODE_ENV,
        },
        publishRelease: true,
      },
   ],