Skip to content

Commit

Permalink
refactor: only upload crash on production build
Browse files Browse the repository at this point in the history
  • Loading branch information
longseespace committed Apr 10, 2019
1 parent 98d6196 commit 0c62636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ben
Fast, native, cross-platform Slack client, written in [React QML][react-qml]
# Ben [![Build Status](https://travis-ci.com/longseespace/ben.svg?branch=develop)](https://travis-ci.com/longseespace/ben)
Fast, native, cross-platform Slack client, written in [React QML][react-qml]

![Screenshot](docs/screenshot.png?raw=true "Screenshot")

Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CrashHandler.init({
companyName: 'Podzim',
submitURL:
'https://sentry.io/api/1433538/minidump/?sentry_key=c621e085d91f467fa0d9629ba4375508',
uploadToServer: true,
uploadToServer: process.env.NODE_ENV !== 'production',
extra: {
sentry: {
release: pkg.version,
Expand Down

0 comments on commit 0c62636

Please sign in to comment.