Skip to content

Commit

Permalink
Sentry: Add os.arch() as event tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gu-stav committed Aug 22, 2022
1 parent de4df38 commit 8e14a14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/generators/app/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const os = require('os');
const crypto = require('crypto');
const { v4: uuidv4 } = require('uuid');
const sentry = require('@sentry/node');
// FIXME
/* eslint-disable import/extensions */
const hasYarn = require('./utils/has-yarn');
const checkRequirements = require('./utils/check-requirements');
const { trackError, captureException } = require('./utils/usage');
Expand Down Expand Up @@ -60,6 +58,7 @@ const generateNewApp = (projectDirectory, cliArguments) => {

sentry.configureScope(function scope(sentryScope) {
const tags = {
os_arch: os.arch(),
os_type: os.type(),
os_platform: os.platform(),
os_release: os.release(),
Expand Down

0 comments on commit 8e14a14

Please sign in to comment.