Skip to content

Commit

Permalink
Shortened code
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane authored Mar 27, 2019
1 parent 9c05550 commit 064ae59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions selfdrive/crash.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def install():
from raven import Client
from raven.transport.http import HTTPTransport

error_tags = {'dirty': dirty}
error_tags = {'dirty': dirty, 'branch': 'release2'}

try:
with open("/data/data/ai.comma.plus.offroad/files/persistStore/persist-auth", "r") as f:
Expand All @@ -30,8 +30,6 @@ def install():
error_tags['email'] = auth['email']
except:
pass

error_tags['branch'] = 'release2'

client = Client('https://137e8e621f114f858f4c392c52e18c6d:8aba82f49af040c8aac45e95a8484970@sentry.io/1404547',
install_sys_hook=False, transport=HTTPTransport, release=version, tags=error_tags)
Expand Down

0 comments on commit 064ae59

Please sign in to comment.