Skip to content

Commit 68945a1

Browse files
authored
ref: Remove process.env.NODE_ENV from Vue integration (getsentry#2263)
1 parent cf7f59f commit 68945a1

File tree

1 file changed

+1
-3
lines changed
  • packages/integrations/src

1 file changed

+1
-3
lines changed

packages/integrations/src/vue.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ export class Vue implements Integration {
111111
}
112112

113113
if (this._logErrors) {
114-
if (process && process.env && process.env.NODE_ENV !== 'production') {
115-
this._Vue.util.warn(`Error in ${info}: "${error.toString()}"`, vm);
116-
}
114+
this._Vue.util.warn(`Error in ${info}: "${error.toString()}"`, vm);
117115
// tslint:disable-next-line:no-console
118116
console.error(error);
119117
}

0 commit comments

Comments
 (0)