    from raven import Client
    from raven.transport.http import HTTPTransport
    client = Client('https://1994756b5e6f41cf939a4c65de45f4f2:cefebaf3a8aa40d182609785f7189bd7@app.getsentry.com/77924',
                    install_sys_hook=False, transport=HTTPTransport, release=version, tags=tags)
  
    def capture_exception(*args, **kwargs):
 
</s> remove                   install_sys_hook=False, transport=HTTPTransport, release=version, tags={'dirty': dirty})
 </s> add                   install_sys_hook=False, transport=HTTPTransport, release=version, tags=tags) </s> remove                   install_sys_hook=False, transport=HTTPTransport, release=version, tags={'dirty': dirty}, string_max_length=10000)
 </s> add                   install_sys_hook=False, transport=HTTPTransport, release=version, tags=tags, string_max_length=10000) </s> remove from selfdrive.version import version, dirty
 </s> add from selfdrive.version import version, origin, branch, dirty </s> remove from selfdrive.version import version, dirty
 </s> add from selfdrive.version import version, dirty, origin, branch
  tags = {
    'dirty': dirty,
    'origin': origin,
    'branch': branch
  }
    from raven import Client
    from raven.transport.http import HTTPTransport
  tags = {
    'dirty': dirty,
    'origin': origin,
    'branch': branch
  }
    client = Client('https://1994756b5e6f41cf939a4c65de45f4f2:cefebaf3a8aa40d182609785f7189bd7@app.getsentry.com/77924',
                    install_sys_hook=False, transport=HTTPTransport, release=version, tags=tags)
  
    def capture_exception(*args, **kwargs):
keep add keep keep keep keep
 log remote and branch in sentry (#16766)

* log remote and branch in sentry

* also add to crash.py

Co-authored-by: Willem Melching <willem.melching@gmail.com> 
selfdrive/crash.py