Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

Commit

Permalink
fix: Log errors in production
Browse files Browse the repository at this point in the history
  • Loading branch information
henry40408 committed May 18, 2018
1 parent a02f4b7 commit f24474b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export function log (...args) {
}

export function logError (...args) {
if (process.env.NODE_ENV === 'development') {
// eslint-disable-next-line no-console
console.error(currentTimestamp(), '❌', ...args)
}
// eslint-disable-next-line no-console
console.error(currentTimestamp(), '❌', ...args)
}

0 comments on commit f24474b

Please sign in to comment.